Skip to content
Snippets Groups Projects
Commit adf65edc authored by aydreeihn's avatar aydreeihn
Browse files

Merge remote-tracking branch 'kevin/issue/user-pwreset' into features_prs/develop-next

parents f19b5cab 0f973eeb
No related branches found
No related tags found
No related merge requests found
......@@ -73,12 +73,8 @@ elseif ($_GET['token']) {
else
Http::redirect('index.php');
}
elseif ($cfg->allowPasswordReset()) {
$banner = __('Enter your username or email address below');
}
else {
$_SESSION['_staff']['auth']['msg']=__('Password resets are disabled');
return header('Location: index.php');
$banner = __('Enter your username or email address below');
}
$nav = new UserNav();
......
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