commit | 554d7e54d2ba80741388aa7ef842d15edc2c6434 | [log] [tgz] |
---|---|---|
author | Wayne Witzel III <wayne@pieceofpy.com> | Sat Jun 28 21:48:08 2014 -0400 |
committer | Wayne Witzel III <wayne@pieceofpy.com> | Sat Jun 28 21:48:08 2014 -0400 |
tree | 60a348ac26822b72912cef3186625e8a478c66ec | |
parent | fcb2f34ae1a86987f005923d242cbed4ec42dbba [diff] |
[#7481] Add return_to to Unauthorized exception handling
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 @@ msg = 'Invalid login' raise Invalid( msg, - dict(username=value['username']), + dict(username=value['username'], return_to=value['return_to']), None) return value