mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
Update default app_key check
This commit is contained in:
parent
ee0e6a16bb
commit
dcd70df5ec
@ -80,7 +80,7 @@ class HandleUserLoggedIn
|
||||
/*
|
||||
if (! env('APP_KEY')) {
|
||||
Session::flash('error', trans('texts.error_app_key_not_set'));
|
||||
} elseif (strstr(env('APP_KEY'), 'SomeRandomString')) {
|
||||
} elseif (in_array(, ['SomeRandomString', 'SomeRandomStringSomeRandomString', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'])) {
|
||||
Session::flash('error', trans('texts.error_app_key_set_to_default'));
|
||||
}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user