aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/views.py
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-01-25 10:55:39 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-01-25 10:56:00 +0100
commit122bf81d854c380ea1f9a15d34a955722cca3e0c (patch)
tree07ec3ab5b2adb4b88446ac87fc51f18de940ef9e /accounts/views.py
parentexplicit comment on non editable fields (diff)
downloadscout-subs-122bf81d854c380ea1f9a15d34a955722cca3e0c.tar.gz
scout-subs-122bf81d854c380ea1f9a15d34a955722cca3e0c.zip
fix chrome showing white page on production
Diffstat (limited to '')
-rw-r--r--accounts/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/views.py b/accounts/views.py
index cef575d..dad6075 100644
--- a/accounts/views.py
+++ b/accounts/views.py
@@ -510,7 +510,7 @@ def personal_wrapper(request, errors):
# if there wasn't any error redirect to clear POST
if len(errors) == 0:
- return HttpResponseRedirect("")
+ return HttpResponseRedirect(request.path_info)
else:
# no post, create empty validation