diff options
Diffstat (limited to 'cli/reconfigure.php')
| -rwxr-xr-x | cli/reconfigure.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/reconfigure.php b/cli/reconfigure.php index aefd1e20b..e6da4bddc 100755 --- a/cli/reconfigure.php +++ b/cli/reconfigure.php @@ -59,7 +59,7 @@ if (!FreshRSS_user_Controller::checkUsername(FreshRSS_Context::$system_conf->def } if (isset(FreshRSS_Context::$system_conf->auth_type) && - !in_array(FreshRSS_Context::$system_conf->auth_type, array('form', 'http_auth', 'none'))) { + !in_array(FreshRSS_Context::$system_conf->auth_type, ['form', 'http_auth', 'none'], true)) { fail('FreshRSS invalid authentication method (auth_type must be one of { form, http_auth, none }: ' . FreshRSS_Context::$system_conf->auth_type); } |
