Fix LDAP login

This commit is contained in:
Lars Immisch 2016-01-31 01:10:08 +01:00
parent 6374370871
commit 198a0d01e5

View file

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