Created
June 27, 2015 19:30
-
-
Save cmltaWt0/71f202f7f79c1d54aea3 to your computer and use it in GitHub Desktop.
Patch for issue #46 part 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mysite/psa/views.py b/mysite/psa/views.py | |
index 3b8847a..51ea9ca 100644 | |
--- a/mysite/psa/views.py | |
+++ b/mysite/psa/views.py | |
@@ -65,7 +65,7 @@ def custom_login(request): | |
if user is not None: | |
if user.is_active: | |
login(request, user) | |
- return redirect(request.POST.get('next', '/ct/')) | |
+ return redirect(request.POST.get('next', '/ct/')) | |
else: | |
params = request.GET | |
if 'next' in params: # must pass through for both GET or POST |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment