aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/authController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-12-22 11:03:32 +0100
committerGravatar GitHub <noreply@github.com> 2023-12-22 11:03:32 +0100
commitc7a3281a73839590bfa9d8a9e73c41fc35fc2847 (patch)
tree14064171417219063004c232d3e63a7a777b7335 /app/Controllers/authController.php
parentbd9e33a25cfc16125c1484656ff1b4cd7c3991d7 (diff)
Fix notifications (#5959)
The notification about wrong login was not working. Noticed while working on https://github.com/FreshRSS/FreshRSS/pull/5955 This was due to timing of when the notification is retrieved. Simplified code to make the logic easier and more robust.
Diffstat (limited to 'app/Controllers/authController.php')
-rw-r--r--app/Controllers/authController.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/Controllers/authController.php b/app/Controllers/authController.php
index ac3fcb0be..82dfefddd 100644
--- a/app/Controllers/authController.php
+++ b/app/Controllers/authController.php
@@ -182,7 +182,6 @@ class FreshRSS_auth_Controller extends FreshRSS_ActionController {
Minz_Request::good(_t('feedback.auth.login.success'), $url);
} else {
Minz_Log::warning("Password mismatch for user={$username}, nonce={$nonce}, c={$challenge}");
-
header('HTTP/1.1 403 Forbidden');
Minz_Session::_param('POST_to_GET', true); //Prevent infinite internal redirect
Minz_Request::setBadNotification(_t('feedback.auth.login.invalid'));