On renvoie sur la bonne page lors de la connexion

This commit is contained in:
Tom Hubrecht 2021-06-21 16:49:03 +02:00
parent c64292efb0
commit 18383802d6

View file

@ -150,7 +150,7 @@
</div> </div>
</a> </a>
{% else %} {% else %}
<a class="tile is-child notification is-primary" href="{% url 'authens:login.cas' %}"> <a class="tile is-child notification is-primary" href="{% url 'authens:login.cas' %}?next={% url 'election.view' election.pk %}">
<div class="subtitle has-text-centered mb-2"> <div class="subtitle has-text-centered mb-2">
<span class="icon-text"> <span class="icon-text">
<span class="icon has-text-white"> <span class="icon has-text-white">