From b5a77ace2f351a62e0ca8aa0ee13b730a99f26ac Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 19 May 2023 18:17:22 +0200 Subject: [PATCH] add logout --- ereuse_devicehub/resources/device/templates/devices/layout.html | 1 + ereuse_devicehub/resources/device/views.py | 1 + 2 files changed, 2 insertions(+) diff --git a/ereuse_devicehub/resources/device/templates/devices/layout.html b/ereuse_devicehub/resources/device/templates/devices/layout.html index 2490f4e3..713fdaf4 100644 --- a/ereuse_devicehub/resources/device/templates/devices/layout.html +++ b/ereuse_devicehub/resources/device/templates/devices/layout.html @@ -53,6 +53,7 @@ {% else %} + Logout {% endif %} diff --git a/ereuse_devicehub/resources/device/views.py b/ereuse_devicehub/resources/device/views.py index 2ca489d2..adac9b4b 100644 --- a/ereuse_devicehub/resources/device/views.py +++ b/ereuse_devicehub/resources/device/views.py @@ -1,4 +1,5 @@ import datetime + import flask import marshmallow from ereuseapi.methods import API