patch related to registation_id, thanks Nik
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 1.99.4 (2012-02-04 09:51:12) stable
|
||||
Version 1.99.4 (2012-02-04 10:07:28) stable
|
||||
|
||||
+1
-1
@@ -1470,7 +1470,7 @@ class Auth(object):
|
||||
checks.append(fieldname)
|
||||
user = user or table_user(**{fieldname:keys[fieldname]})
|
||||
# if we think we found the user but registration_id does not match, make new user
|
||||
if user and user.registration_id and user.registration_id!=keys.get('registration_id',None):
|
||||
if 'registration_id' in checks and user and user.registration_id and user.registration_id!=keys.get('registration_id',None):
|
||||
user = None # THINK MORE ABOUT THIS? DO WE TRUST OPENID PROVIDER?
|
||||
keys['registration_key']=''
|
||||
if user:
|
||||
|
||||
Reference in New Issue
Block a user