Commit e966399c authored by Xavier Guimard's avatar Xavier Guimard

Typo (#1508)

parent 61eb91b7
......@@ -186,7 +186,7 @@ sub _reset {
]
);
if ( my $error = $self->p->process( $req, useMail => $searchByMail ) ) {
if ( $error == PE_USERNOTFOUND or $error = PE_BADCREDENTIALS ) {
if ( $error == PE_USERNOTFOUND or $error == PE_BADCREDENTIALS ) {
$self->userLogger->warn(
"Reset asked for a unvalid user ($req->{user})");
......
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