diff options
Diffstat (limited to 'app/Controllers/authController.php')
| -rw-r--r-- | app/Controllers/authController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/authController.php b/app/Controllers/authController.php index 54935ab1b..0839656a5 100644 --- a/app/Controllers/authController.php +++ b/app/Controllers/authController.php @@ -126,13 +126,13 @@ class FreshRSS_auth_Controller extends FreshRSS_ActionController { if (FreshRSS_Context::$user_conf == null) { // Initialise the default user to be able to display the error page FreshRSS_Context::initUser(FreshRSS_Context::$system_conf->default_user); - Minz_Error::error(403, array(_t('feedback.auth.login.invalid')), false); + Minz_Error::error(403, _t('feedback.auth.login.invalid'), false); return; } if (!FreshRSS_Context::$user_conf->enabled || FreshRSS_Context::$user_conf->passwordHash == '') { usleep(random_int(100, 5000)); //Primitive mitigation of timing attacks, in μs - Minz_Error::error(403, array(_t('feedback.auth.login.invalid')), false); + Minz_Error::error(403, _t('feedback.auth.login.invalid'), false); return; } |
