fix: proper Axios error extraction, token refresh, auth state restoration, ProtectedRoute

This commit is contained in:
Marko (Hermes Implementer)
2026-05-29 00:13:31 +00:00
parent a0b3ae7e34
commit 84c6262b3d
7 changed files with 469 additions and 24 deletions
+2
View File
@@ -1,4 +1,5 @@
from django.urls import path
from rest_framework_simplejwt.views import TokenRefreshView
from accounts import views
@@ -7,4 +8,5 @@ app_name = "accounts"
urlpatterns = [
path("register/", views.register_view, name="register"),
path("login/", views.login_view, name="login"),
path("token/refresh/", TokenRefreshView.as_view(), name="token_refresh"),
]