Sfoglia il codice sorgente

Return after 403

https://github.com/FreshRSS/FreshRSS/pull/1016
https://github.com/FreshRSS/FreshRSS/issues/1015
Alexandre Alapetite 10 anni fa
parent
commit
ad1f0cb96b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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(