diff options
| author | 2023-05-15 19:26:48 +0200 | |
|---|---|---|
| committer | 2023-05-15 19:26:48 +0200 | |
| commit | 2038d50110468d95ff978ba2e8f997175f25ff3b (patch) | |
| tree | a9bc4bc364fe0c9b452702f3324a2091229e5fce /app/Controllers/authController.php | |
| parent | c8d2ead7635e58a5c78d95a9b9a1a74e99a1bcef (diff) | |
PHPStan Level 7 for Minz_Request, FreshRSS_Feed, Minz_Error (#5400)
* PHPStan Level 7 for Minz_Request
* PHPStan Level 7 for FreshRSS_Feed
* PHPStan Level 7 for Minz_Error
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; } |
