mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-05-07 06:22:29 +00:00
Make the error message for when a user does not exist when attempting to login via OIDC more user-friendly.
This commit is contained in:
parent
eb312cc61d
commit
637b773fd6
@ -102,7 +102,7 @@ module.exports = {
|
||||
.first()
|
||||
.then((user) => {
|
||||
if (!user) {
|
||||
throw new error.AuthError('No relevant user found');
|
||||
throw new error.AuthError(`A user with the email ${data.identity} does not exist. Please contact your administrator.`);
|
||||
}
|
||||
|
||||
// Create a moment of the expiry expression
|
||||
|
Loading…
x
Reference in New Issue
Block a user