You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ww...@apache.org on 2014/06/29 03:52:30 UTC

git commit: [#7481] Add return_to to Unauthorized exception handling

Repository: allura
Updated Branches:
  refs/heads/ww/7481 [created] 554d7e54d


[#7481] Add return_to to Unauthorized exception handling


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

Branch: refs/heads/ww/7481
Commit: 554d7e54d2ba80741388aa7ef842d15edc2c6434
Parents: fcb2f34
Author: Wayne Witzel III <wa...@pieceofpy.com>
Authored: Sat Jun 28 21:48:08 2014 -0400
Committer: Wayne Witzel III <wa...@pieceofpy.com>
Committed: Sat Jun 28 21:48:08 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/allura/blob/554d7e54/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 034da45..3c5c1d2 100644
--- a/Allura/allura/lib/widgets/auth_widgets.py
+++ b/Allura/allura/lib/widgets/auth_widgets.py
@@ -55,7 +55,7 @@ class LoginForm(ForgeForm):
             msg = 'Invalid login'
             raise Invalid(
                 msg,
-                dict(username=value['username']),
+                dict(username=value['username'], return_to=value['return_to']),
                 None)
         return value