fixed a problem with reset_password
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.9.6-stable+timestamp.2014.09.02.10.10.07
|
Version 2.9.6-stable+timestamp.2014.09.02.12.17.18
|
||||||
|
|||||||
+1
-1
@@ -3007,7 +3007,7 @@ class Auth(object):
|
|||||||
|
|
||||||
if self.settings.prevent_password_reset_attacks:
|
if self.settings.prevent_password_reset_attacks:
|
||||||
key = request.vars.key
|
key = request.vars.key
|
||||||
if not key and len(request.args)>1:
|
if not key and len(request.args)>0:
|
||||||
key = request.args[-1]
|
key = request.args[-1]
|
||||||
if key:
|
if key:
|
||||||
session._reset_password_key = key
|
session._reset_password_key = key
|
||||||
|
|||||||
Reference in New Issue
Block a user