1
0
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:
Hillel Coren 2017-07-18 14:00:48 +03:00
parent ee0e6a16bb
commit dcd70df5ec

View File

@ -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'));
}
*/