From 198a0d01e5a6ff3ff575145ae2dce0ec80940686 Mon Sep 17 00:00:00 2001 From: Lars Immisch Date: Sun, 31 Jan 2016 01:10:08 +0100 Subject: [PATCH] Fix LDAP login --- realms/modules/auth/ldap/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realms/modules/auth/ldap/models.py b/realms/modules/auth/ldap/models.py index cd605c2..c1c7176 100644 --- a/realms/modules/auth/ldap/models.py +++ b/realms/modules/auth/ldap/models.py @@ -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