Commit d706d9f1 authored by Daniel STAN's avatar Daniel STAN

login: username sans

parent cf9a1217
......@@ -140,8 +140,7 @@ class LDAPUserBackend(ModelBackend):
return None
# On stocke les utilisateurs dans la base django comme ""
django_username = '' % username
django_username = username
user = User.objects.get(username=django_username)
except User.DoesNotExist:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment