1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-31 17:17:53 +03:00

realname fixed on creation

This commit is contained in:
Adolfo Gómez García 2018-12-21 13:53:52 +01:00
parent 6a05403464
commit 8f76363b27

View File

@ -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):