From 99c8771891811dc35ac915866271d4422c94177f Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Thu, 28 Jan 2021 20:16:46 +0100 Subject: [PATCH] Use password form after resetting password --- interface/web/login/password_reset.php | 1 + interface/web/login/templates/index.htm | 3 +++ 2 files changed, 4 insertions(+) diff --git a/interface/web/login/password_reset.php b/interface/web/login/password_reset.php index 2e1d5e6aad..db4ad71c22 100644 --- a/interface/web/login/password_reset.php +++ b/interface/web/login/password_reset.php @@ -153,6 +153,7 @@ if(isset($_POST['username']) && is_string($_POST['username']) && $_POST['usernam if($send_result !== false) { $app->tpl->setVar("msg", $wb['pw_reset']); + $app->tpl->setInclude('content_tpl', 'templates/index.htm'); } else { $app->tpl->setVar("error", $wb['pw_reset_error_smtp_connection']); } diff --git a/interface/web/login/templates/index.htm b/interface/web/login/templates/index.htm index e03e58f1f1..64b1825073 100644 --- a/interface/web/login/templates/index.htm +++ b/interface/web/login/templates/index.htm @@ -1,3 +1,6 @@ + + + -- GitLab