mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
use groups class
This commit is contained in:
@@ -507,7 +507,7 @@ public class ScmRealm extends AuthorizingRealm
|
||||
SimplePrincipalCollection collection = new SimplePrincipalCollection();
|
||||
|
||||
collection.add(user, NAME);
|
||||
collection.add(groups, NAME);
|
||||
collection.add(new Groups(groups), NAME);
|
||||
|
||||
return new SimpleAuthenticationInfo(collection, token.getPassword());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user