mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-07 21:00:54 +01:00
allow users without mail address
This commit is contained in:
@@ -135,7 +135,7 @@ public class PAMAuthenticationHandler implements AuthenticationHandler
|
||||
|
||||
if (unixUser != null)
|
||||
{
|
||||
User user = new User(username, username, null);
|
||||
User user = new User(username);
|
||||
|
||||
user.setAdmin(isAdmin(unixUser));
|
||||
result = new AuthenticationResult(user);
|
||||
|
||||
Reference in New Issue
Block a user