Commit 97f5c2d0 authored by mcramer's avatar mcramer

Bugfix: wrong message variables for template were set

parent a59498fc
......@@ -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']);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment