From f1ab50fb9171c3d423d668d07e7f240c8e47f11d Mon Sep 17 00:00:00 2001 From: mdipierro Date: Tue, 2 Sep 2014 12:17:26 -0500 Subject: [PATCH] fixed a problem with reset_password --- VERSION | 2 +- gluon/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 5b654a16..95265916 100644 --- a/VERSION +++ b/VERSION @@ -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 diff --git a/gluon/tools.py b/gluon/tools.py index 0f55fbb6..64d57f91 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -3007,7 +3007,7 @@ class Auth(object): if self.settings.prevent_password_reset_attacks: key = request.vars.key - if not key and len(request.args)>1: + if not key and len(request.args)>0: key = request.args[-1] if key: session._reset_password_key = key