You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2014/07/18 10:51:16 UTC
[9/9] 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/67d7fc30
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/67d7fc30
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/67d7fc30
Branch: refs/heads/je/42cc_7451
Commit: 67d7fc308f1ef64b5c8e12da4e5cab3787e823cf
Parents: 8ccd2a5
Author: Aleksey 'LXj' Alekseyev <go...@gmail.com>
Authored: Thu Jul 17 17:38:34 2014 +0300
Committer: Aleksey 'LXj' Alekseyev <go...@gmail.com>
Committed: Thu Jul 17 17:38:34 2014 +0300
----------------------------------------------------------------------
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/67d7fc30/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