We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55451ae commit 99c8771Copy full SHA for 99c8771
interface/web/login/password_reset.php
@@ -153,6 +153,7 @@
153
154
if($send_result !== false) {
155
$app->tpl->setVar("msg", $wb['pw_reset']);
156
+ $app->tpl->setInclude('content_tpl', 'templates/index.htm');
157
} else {
158
$app->tpl->setVar("error", $wb['pw_reset_error_smtp_connection']);
159
}
interface/web/login/templates/index.htm
@@ -1,3 +1,6 @@
1
+ <tmpl_if name="msg">
2
+ <div class="alert alert-success" role="alert"><tmpl_var name="msg"></div>
3
+ </tmpl_if>
4
<tmpl_if name="error">
5
<div class="alert alert-danger" role="alert"><tmpl_var name="error"></div>
6
</tmpl_if>
0 commit comments