aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration/login.html
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-01-04 16:46:44 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-01-04 16:47:06 +0100
commit3d95adfa00bfa0d9bc515d0c9c8479bccd65407b (patch)
tree1527f820304ab86200147f781f784eaa0cad1bb3 /templates/registration/login.html
parentfix disabled fields not submitting (diff)
downloadscout-subs-3d95adfa00bfa0d9bc515d0c9c8479bccd65407b.tar.gz
scout-subs-3d95adfa00bfa0d9bc515d0c9c8479bccd65407b.zip
logout user if token expired + set password page
Diffstat (limited to 'templates/registration/login.html')
-rw-r--r--templates/registration/login.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/registration/login.html b/templates/registration/login.html
index 8a2b258..cfa4a2b 100644
--- a/templates/registration/login.html
+++ b/templates/registration/login.html
@@ -19,7 +19,7 @@
<br><br><hr><br>
<div class="row">
<div class="col s12">
- <a href={% url 'oauth_login' %} style="width: 100%; background-color: #99BF62" class="btn waves-effect waves-light">
+ <a href="{% url 'oauth_login' %}?next={{ request.GET.next }}" style="width: 100%; background-color: #99BF62" class="btn waves-effect waves-light">
<div class="row">
<div class="col s2">
<img style="height: 30px; padding-top: 3px" src="{% static 'pbs_logo.svg' %}" alt="PBS Logo">