mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
improve remember me
This commit is contained in:
@@ -242,7 +242,7 @@ public class DefaultAdministrationContext implements AdministrationContext
|
||||
{
|
||||
String username = null;
|
||||
|
||||
if (subject.isAuthenticated())
|
||||
if (subject.hasRole(Role.USER))
|
||||
{
|
||||
username = principal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user