aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/views.py
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-01-02 21:54:05 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-01-02 21:54:15 +0100
commit7ebd77702aa5681d6635ef20b6252ce3c7f234de (patch)
treedfab043f428bebb415c1edf60267726fc1fddbc4 /accounts/views.py
parentdisconnect oauth check validity (diff)
downloadscout-subs-7ebd77702aa5681d6635ef20b6252ce3c7f234de.tar.gz
scout-subs-7ebd77702aa5681d6635ef20b6252ce3c7f234de.zip
fix tabs in user settings
Diffstat (limited to '')
-rw-r--r--accounts/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/views.py b/accounts/views.py
index 2b971b3..26d45fa 100644
--- a/accounts/views.py
+++ b/accounts/views.py
@@ -107,7 +107,7 @@ def oauth_disconnect(request):
usercode.midata_token = ""
usercode.save()
- return HttpResponseRedirect(reverse("personal") + "#misc")
+ return HttpResponseRedirect(reverse("personal") + "#settings")
# callback after acquiring token
@login_required
@@ -133,7 +133,7 @@ def auth_connect(request):
usercode.midata_token = token["access_token"]
usercode.save()
- return HttpResponseRedirect(reverse("personal") + "#misc")
+ return HttpResponseRedirect(reverse("personal") + "#settings")
@sensitive_variables("raw_passsword")
def signup(request):