v2026.10.1: keep login redirect, show wrong-password error
The axios 401 interceptor treated failed auth calls (the guard's own /api/auth/refresh, a wrong-password /api/auth/login) as an expired session and hard-navigated to a bare /login. That dropped the router guard's ?redirect= and reloaded the login page before its error could show. - Skip auto-refresh for login/register/refresh - On a real mid-use expiry, redirect to /login?redirect=<current path> - LoginView only follows in-app redirect paths Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
954161ba8f
commit
3460fff8ff
5 files changed
+26
-8
No files matched your search
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "homeschool-frontend",
|
||||
"version": "2026.10.0",
|
||||
"version": "2026.10.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "homeschool-frontend",
|
||||
"version": "2026.10.0",
|
||||
"version": "2026.10.1",
|
||||
"dependencies": {
|
||||
"@vue/devtools-api": "8.2.1",
|
||||
"axios": "1.20.0",
|
||||
|
||||
Reference in new issue
Block a user