From 8f76363b2752a846a1c15797b506bf6aa885ace9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Fri, 21 Dec 2018 13:53:52 +0100 Subject: [PATCH] realname fixed on creation --- server/src/uds/core/auths/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/uds/core/auths/auth.py b/server/src/uds/core/auths/auth.py index 6952a77e6..045cac7db 100644 --- a/server/src/uds/core/auths/auth.py +++ b/server/src/uds/core/auths/auth.py @@ -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):