mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
Requested change: Add logging for no such user and canSelfRegister=false
This commit is contained in:
@@ -138,6 +138,7 @@ public class OidcAuthenticationBean implements AuthenticationMethod {
|
|||||||
return ePerson.canLogIn() ? logInEPerson(context, ePerson) : BAD_ARGS;
|
return ePerson.canLogIn() ? logInEPerson(context, ePerson) : BAD_ARGS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LOGGER.warn("Self registration is currently disabled for OIDC, and no ePerson could be found for email: {}", email);
|
||||||
return canSelfRegister() ? registerNewEPerson(context, userInfo, email) : NO_SUCH_USER;
|
return canSelfRegister() ? registerNewEPerson(context, userInfo, email) : NO_SUCH_USER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user