You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2014/07/25 21:22:12 UTC

[09/13] git commit: [#7451] ticket:605 Remember rememberme value if validation fails

[#7451] ticket:605 Remember rememberme value if validation fails


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/6fb6d873
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/6fb6d873
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/6fb6d873

Branch: refs/heads/master
Commit: 6fb6d873d155c289a03e33235a302559914c768e
Parents: 6a59e5f
Author: Aleksey 'LXj' Alekseyev <go...@gmail.com>
Authored: Thu Jul 17 17:38:34 2014 +0300
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Fri Jul 25 18:43:28 2014 +0000

----------------------------------------------------------------------
 Allura/allura/lib/widgets/auth_widgets.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/6fb6d873/Allura/allura/lib/widgets/auth_widgets.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/auth_widgets.py b/Allura/allura/lib/widgets/auth_widgets.py
index 7ea416f..7f5079f 100644
--- a/Allura/allura/lib/widgets/auth_widgets.py
+++ b/Allura/allura/lib/widgets/auth_widgets.py
@@ -56,7 +56,8 @@ class LoginForm(ForgeForm):
             msg = 'Invalid login'
             raise Invalid(
                 msg,
-                dict(username=value['username'], return_to=value.get('return_to')),
+                dict(username=value['username'], rememberme=value.get('rememberme'),
+                     return_to=value.get('return_to')),
                 None)
         return value