mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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')) {
|
if (! env('APP_KEY')) {
|
||||||
Session::flash('error', trans('texts.error_app_key_not_set'));
|
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'));
|
Session::flash('error', trans('texts.error_app_key_set_to_default'));
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user