From 4365f2b51000bff77afac81d6ce6eb9d01885aa5 Mon Sep 17 00:00:00 2001 From: Thies Mueller Date: Fri, 8 Jan 2021 20:47:35 +0100 Subject: [PATCH] added auto redirect --- forgotpass.php | 2 +- logout.php | 4 ++-- resetpass.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/forgotpass.php b/forgotpass.php index 1bab528..4d74a40 100644 --- a/forgotpass.php +++ b/forgotpass.php @@ -60,7 +60,7 @@ loginpagefoo script'; mail($mailrcpt, $mailsubject, $text, $from); - echo "Link send."; + echo "Link send. Going back to login page. "; $showForm = false; } } diff --git a/logout.php b/logout.php index 80136a7..cb105ab 100644 --- a/logout.php +++ b/logout.php @@ -2,14 +2,14 @@ Logout - + diff --git a/resetpass.php b/resetpass.php index c0ccd61..071e05c 100644 --- a/resetpass.php +++ b/resetpass.php @@ -59,7 +59,7 @@ if(isset($_GET['send'])) { $result = $statement->execute(array('passwordhash' => $passwordhash, 'userid'=> $userid )); if($result) { - die('Changed password. Please goto login now.'); + die('Changed password. Going to login now.'); } } }