Issue 1480:Patch for /gluon/tools.py, thanks Jesus Alvaro
This commit is contained in:
1 parent
cdd3f6ed00
commit
4089cf2145
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
|||||||
Version 2.4.6-stable+timestamp.2013.05.06.22.48.04
|
Version 2.4.6-stable+timestamp.2013.05.07.15.45.02
|
||||||
+1
-1
@@ -1753,7 +1753,7 @@ class Auth(object):
|
|||||||
if 'registration_id' in checks \
|
if 'registration_id' in checks \
|
||||||
and user \
|
and user \
|
||||||
and user.registration_id \
|
and user.registration_id \
|
||||||
and user.registration_id != keys.get('registration_id', None):
|
and ('registration_id' not in keys or user.registration_id != str(keys['registration_id'])):
|
||||||
user = None # THINK MORE ABOUT THIS? DO WE TRUST OPENID PROVIDER?
|
user = None # THINK MORE ABOUT THIS? DO WE TRUST OPENID PROVIDER?
|
||||||
if user:
|
if user:
|
||||||
update_keys = dict(registration_id=keys['registration_id'])
|
update_keys = dict(registration_id=keys['registration_id'])
|
||||||
|
|||||||
Reference in new issue
Block a user