Fix LDAP login
This commit is contained in:
parent
6374370871
commit
198a0d01e5
|
@ -10,7 +10,7 @@ users = {}
|
||||||
|
|
||||||
@ldap.save_user
|
@ldap.save_user
|
||||||
def save_user(username, userdata):
|
def save_user(username, userdata):
|
||||||
user = User(userdata.get('username'), userdata.get('email'))
|
user = User(username, userdata.get('email'))
|
||||||
users[user.id] = user
|
users[user.id] = user
|
||||||
return user
|
return user
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue