mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
deactivated users should be handled by security context
This commit is contained in:
@@ -105,8 +105,7 @@ public class DefaultAuthenticationHandler implements AuthenticationHandler
|
||||
AuthenticationResult result = null;
|
||||
User user = userManager.get(username);
|
||||
|
||||
// return not found, if the user is not active
|
||||
if (user != null && user.isActive())
|
||||
if (user != null)
|
||||
{
|
||||
if (userManager.getDefaultType().equals(user.getType()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user