Skip to content
Snippets Groups Projects
Commit 37f2f846 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '6035-password-reset-to-login' into 'develop'

Use password form after resetting password

Closes #6035

See merge request ispconfig/ispconfig3!1395
parents 55451aeb 99c87718
No related branches found
No related tags found
1 merge request!1395Use password form after resetting password
Pipeline #7420 passed
......@@ -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']);
}
......
<tmpl_if name="msg">
<div class="alert alert-success" role="alert"><tmpl_var name="msg"></div>
</tmpl_if>
<tmpl_if name="error">
<div class="alert alert-danger" role="alert"><tmpl_var name="error"></div>
</tmpl_if>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment