We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit ad2fd9ab authored by Michele macno Azzolari's avatar Michele macno Azzolari Committed by Evan Prodromou

Fix whitescreen on recoverpassword with unknown user

parent 68676ad3
......@@ -288,10 +288,11 @@ class RecoverpasswordAction extends Action
'have been sent to the email address registered to your ' .
$this->success = true;
} catch (Exception $e) {
$this->success = false;
$this->msg = $e->getMessage();
function resetPassword()
......@@ -1086,7 +1086,7 @@ class User extends Managed_DataObject
if (!$user) {
// TRANS: Information on password recovery form if no known username or e-mail address was specified.
throw new ClientError(_('No user with that email address or username.'));
throw new ClientException(_('No user with that email address or username.'));
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