X-Git-Url: http://git.auf.org/?p=auf_savoirs_en_partage_django.git;a=blobdiff_plain;f=auf_savoirs_en_partage%2Fauthentification.py;h=546413f91e11b5de6bd1c8125bd5e74e765c0622;hp=97ee14b8c51b78586b3fc4a17d38ce69a9c6a647;hb=5ecd9e43b0dbd5dc9b5c9556dd998abcba79dd1a;hpb=325efc50e71eef3b2cc229260f209967b7a03c57 diff --git a/auf_savoirs_en_partage/authentification.py b/auf_savoirs_en_partage/authentification.py index 97ee14b..546413f 100644 --- a/auf_savoirs_en_partage/authentification.py +++ b/auf_savoirs_en_partage/authentification.py @@ -18,7 +18,7 @@ class CascadeBackend(ModelBackend): remoteUser = localUser = None try: if settings.AUTH_PASSWORD_REQUIRED: - remoteUser = RemoteUser.objects.get (courriel=email, password=password) + remoteUser = RemoteUser.objects.get (courriel=email, password=md5pass) else: remoteUser = RemoteUser.objects.get (courriel=email) except: