2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

[PUI] Fix logout (#6284)

* fix path

* changed PUI to use logout route
Fixes #5968
This commit is contained in:
Matthias Mair
2024-01-19 00:30:19 +00:00
committed by GitHub
parent 64dbf8c1e3
commit 357f715789
5 changed files with 13 additions and 3 deletions

View File

@ -2,7 +2,7 @@
from django.conf import settings
from django.shortcuts import redirect
from django.urls import include, path
from django.urls import include, path, re_path
from django.views.decorators.csrf import ensure_csrf_cookie
from django.views.generic import TemplateView
@ -31,7 +31,7 @@ urlpatterns = [
spa_view,
name='password_reset_confirm',
),
path('', spa_view),
re_path('.*', spa_view),
]),
),
assets_path,