From 4c4eba20b7e98f5eb9939b60d24c9c13bd06ceaf Mon Sep 17 00:00:00 2001 From: loviuz Date: Wed, 8 Apr 2020 21:58:54 +0200 Subject: [PATCH] Fix open redirection --- reset.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reset.php b/reset.php index e6d559f95..d6b2a78a0 100755 --- a/reset.php +++ b/reset.php @@ -41,6 +41,7 @@ switch (post('op')) { flash()->info(tr("Se le informazioni inserite corrispondono ai dati di un utente, riceverai a breve un'email all'indirizzo collegato").'.'); redirect(ROOTDIR.'/index.php'); + exit() break; case 'update': @@ -57,6 +58,7 @@ switch (post('op')) { flash()->info(tr('Password cambiata!')); redirect(ROOTDIR.'/index.php'); + exit(); break; }