add logout

This commit is contained in:
Cayo Puigdefabregas 2023-05-19 18:17:22 +02:00
parent 7b2bfd095c
commit b5a77ace2f
2 changed files with 2 additions and 0 deletions

View file

@ -53,6 +53,7 @@
<button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#validateModal">Validate</button>
{% else %}
<button class="btn btn-primary" id="buttonRol" data-bs-toggle="modal" data-bs-target="#rolsModal">Select your rol</button>
<a class="btn btn-primary" href="{{ url_for('core.logout') }}">Logout</a>
{% endif %}
</li>
</ul>

View file

@ -1,4 +1,5 @@
import datetime
import flask
import marshmallow
from ereuseapi.methods import API