mirror of
https://github.com/dkmstr/openuds.git
synced 2025-08-25 13:49:59 +03:00
realname fixed on creation
This commit is contained in:
@ -165,7 +165,7 @@ def __registerUser(authenticator, authInstance, username):
|
||||
|
||||
request = getRequest()
|
||||
|
||||
usr = authenticator.getOrCreateUser(username)
|
||||
usr = authenticator.getOrCreateUser(username, '')
|
||||
usr.real_name = authInstance.getRealName(username)
|
||||
usr.save()
|
||||
if usr is not None and State.isActive(usr.state):
|
||||
|
Reference in New Issue
Block a user