diff --git a/bugsink/urls.py b/bugsink/urls.py index 7d2dee8..e78eef6 100644 --- a/bugsink/urls.py +++ b/bugsink/urls.py @@ -28,7 +28,7 @@ urlpatterns = [ path("accounts/reset-password//", reset_password, name="reset_password"), path("accounts/login/", auth_views.LoginView.as_view(template_name="bugsink/login.html"), name="login"), - path("accounts/logout/", auth_views.LogoutView.as_view(), name="logout"), + path("accounts/logout/", auth_views.LogoutView.as_view(template_name="users/logged_out.html"), name="logout"), path('api/', include('ingest.urls')), diff --git a/users/templates/users/logged_out.html b/users/templates/users/logged_out.html new file mode 100644 index 0000000..e91bead --- /dev/null +++ b/users/templates/users/logged_out.html @@ -0,0 +1,21 @@ +{% extends "barest_base.html" %} +{% load static %} + +{% block title %}Logged out ยท {{ site_title }}{% endblock %} + +{% block content %} + +
{# the cyan background #} +
{# the centered box #} +
{# the logo #} + Bugsink +
+ +
+ You have been logged out. Log in again. +
+ +
+
+ +{% endblock %}