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/25 09:55:30 UTC
[27/28] 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/e7f1bf38
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/e7f1bf38
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/e7f1bf38
Branch: refs/heads/je/42cc_7451
Commit: e7f1bf3808560526c19235139cec41c0256fc17d
Parents: 4a7253d
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 24 22:16:21 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/e7f1bf38/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