4
0
Эх сурвалжийг харах

Return after 403

https://github.com/FreshRSS/FreshRSS/pull/1016
https://github.com/FreshRSS/FreshRSS/issues/1015
Alexandre Alapetite 10 жил өмнө
parent
commit
ad1f0cb96b

+ 1 - 0
app/Controllers/authController.php

@@ -124,6 +124,7 @@ class FreshRSS_auth_Controller extends Minz_ActionController {
 			$conf = get_user_configuration($username);
 			$conf = get_user_configuration($username);
 			if (is_null($conf)) {
 			if (is_null($conf)) {
 				Minz_Error::error(403, array(_t('feedback.auth.login.invalid')), false);
 				Minz_Error::error(403, array(_t('feedback.auth.login.invalid')), false);
+				return;
 			}
 			}
 
 
 			$ok = FreshRSS_FormAuth::checkCredentials(
 			$ok = FreshRSS_FormAuth::checkCredentials(