diff --git a/include/client/pwreset.sent.php b/include/client/pwreset.sent.php index 91c4720bce..6afcb3f91c 100644 --- a/include/client/pwreset.sent.php +++ b/include/client/pwreset.sent.php @@ -5,7 +5,7 @@
diff --git a/include/staff/pwreset.sent.php b/include/staff/pwreset.sent.php index bd6ce08963..d918d3449f 100644 --- a/include/staff/pwreset.sent.php +++ b/include/staff/pwreset.sent.php @@ -15,7 +15,7 @@

diff --git a/pwreset.php b/pwreset.php index b2c42a6a79..3dff5c0653 100644 --- a/pwreset.php +++ b/pwreset.php @@ -29,8 +29,8 @@ .' '.__('Internal error occurred'); } else - $banner = sprintf(__('Unable to verify username %s'), - Format::htmlchars($_POST['userid'])); + $inc = 'pwreset.sent.php'; + break; case 'reset': $inc = 'pwreset.login.php'; diff --git a/scp/pwreset.php b/scp/pwreset.php index 10ce4fd76a..0be74c62c7 100644 --- a/scp/pwreset.php +++ b/scp/pwreset.php @@ -53,8 +53,7 @@ } } else - $msg = sprintf(__('Unable to verify username %s'), - Format::htmlchars($_POST['userid'])); + $tpl = 'pwreset.sent.php'; break; case 'newpasswd': // TODO: Compare passwords