Merge pull request #118 from larsimmisch/master

Fix LDAP login
This commit is contained in:
Matthew Scragg 2016-01-30 19:14:19 -06:00
commit a6f02dfd63

View file

@ -10,7 +10,7 @@ users = {}
@ldap.save_user
def save_user(username, userdata):
user = User(userdata.get('username'), userdata.get('email'))
user = User(username, userdata.get('email'))
users[user.id] = user
return user