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:
@ -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,
|
||||
|
Reference in New Issue
Block a user