You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2018/12/14 16:36:56 UTC

allura git commit: Allow multiple args to pass thru login fragment

Repository: allura
Updated Branches:
  refs/heads/kt/login_frag_args [created] f0b34a852


Allow multiple args to pass thru login fragment


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

Branch: refs/heads/kt/login_frag_args
Commit: f0b34a852496b76c373cfb1b7e69363510ea055b
Parents: cd928bc
Author: Kenton Taylor <kt...@slashdotmedia.com>
Authored: Fri Dec 14 11:36:29 2018 -0500
Committer: Kenton Taylor <kt...@slashdotmedia.com>
Committed: Fri Dec 14 11:36:29 2018 -0500

----------------------------------------------------------------------
 Allura/allura/controllers/auth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/f0b34a85/Allura/allura/controllers/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index 514d842..cac7dd1 100644
--- a/Allura/allura/controllers/auth.py
+++ b/Allura/allura/controllers/auth.py
@@ -123,7 +123,7 @@ class AuthController(BaseController):
             else:
                 return_to = request.referer
         c.form = F.login_form
-        return dict(return_to=return_to)
+        return dict(return_to=return_to, **kwargs)
 
     @expose('jinja:allura:templates/login_fragment.html')
     def login_fragment(self, *args, **kwargs):