Explorar o código

Return after 403

https://github.com/FreshRSS/FreshRSS/pull/1016
https://github.com/FreshRSS/FreshRSS/issues/1015
Alexandre Alapetite %!s(int64=10) %!d(string=hai) anos
pai
achega
ad1f0cb96b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Controllers/authController.php

+ 1 - 0
app/Controllers/authController.php

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