svthalia / sagexit

A stripped down Django reservation system using SAML
https://reservations.thalia.nu
GNU Affero General Public License v3.0
4 stars 1 forks source link

Use django.contrib.auth.views.LogoutView #24

Open JobDoesburg opened 3 years ago

JobDoesburg commented 3 years ago

Can you not just do

    path("logout/", LogoutView.as_view(), name="logout"),

from django.contrib.auth.views -> https://github.com/django/django/blob/main/django/contrib/auth/views.py?

_Originally posted by @se-bastiaan in https://github.com/svthalia/sagexit/pull/23#discussion_r619024465_