projets
/
auf_savoirs_en_partage_django.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version plus ou moins stable de chercheurs
[auf_savoirs_en_partage_django.git]
/
auf_savoirs_en_partage
/
authentification.py
diff --git
a/auf_savoirs_en_partage/authentification.py
b/auf_savoirs_en_partage/authentification.py
index
97ee14b
..
546413f
100644
(file)
--- 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 = 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:
else:
remoteUser = RemoteUser.objects.get (courriel=email)
except: