mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
remove token from PrincipalCollection because it is also stored in the session
This commit is contained in:
@@ -563,7 +563,6 @@ public class ScmRealm extends AuthorizingRealm
|
||||
collection.add(user.getId(), NAME);
|
||||
collection.add(user, NAME);
|
||||
collection.add(new GroupNames(groups), NAME);
|
||||
collection.add(token, NAME);
|
||||
|
||||
return new SimpleAuthenticationInfo(collection, token.getPassword());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user