mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +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.getId(), NAME);
|
||||||
collection.add(user, NAME);
|
collection.add(user, NAME);
|
||||||
collection.add(new GroupNames(groups), NAME);
|
collection.add(new GroupNames(groups), NAME);
|
||||||
collection.add(token, NAME);
|
|
||||||
|
|
||||||
return new SimpleAuthenticationInfo(collection, token.getPassword());
|
return new SimpleAuthenticationInfo(collection, token.getPassword());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user