Skip to content
Snippets Groups Projects
Commit 97f5c2d0 authored by mcramer's avatar mcramer
Browse files

Bugfix: wrong message variables for template were set

parent a59498fc
No related branches found
No related tags found
No related merge requests found
......@@ -74,13 +74,13 @@ if(isset($_POST['username']) && $_POST['username'] != '' && $_POST['email'] != '
$app->ispcmail->finish();
$app->plugin->raiseEvent('password_reset',true);
$app->tpl->setVar("msg",$wb['pw_reset']);
} else {
$app->tpl->setVar("message",$wb['pw_error']);
$app->tpl->setVar("error",$wb['pw_error']);
}
} else {
$app->tpl->setVar("message",$wb['pw_error_noinput']);
$app->tpl->setVar("msg",$wb['pw_error_noinput']);
}
......
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