use same error message for invalid user and disabled password reset to not give away if a user exists

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-12-02 13:25:17 +01:00
parent 63f6d221cd
commit 89f73f571e
5 changed files with 20 additions and 5 deletions

View File

@@ -585,7 +585,7 @@ if ($action == 'forgotpwd') {
}
}
} else {
$message = lng('login.usernotfound');
$message = lng('pwdreminder.notallowed');
}
}
}