mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
fix(auth): prevent stale login attempts from replacing sessions (#663)
This commit is contained in:
@@ -314,6 +314,8 @@ export default defineConfig(({ command, mode, isPreview }) => ({
|
||||
'src/stores/auth.ts',
|
||||
'src/stores/user.ts',
|
||||
'src/stores/pluginSidebarNav.ts',
|
||||
'src/components/auth/LoginMfaStep.vue',
|
||||
'src/pages/login.vue',
|
||||
'src/pages/appcenter.vue',
|
||||
'src/pages/recommend.vue',
|
||||
'src/pages/discover.vue',
|
||||
@@ -640,6 +642,18 @@ export default defineConfig(({ command, mode, isPreview }) => ({
|
||||
lines: 90,
|
||||
statements: 90,
|
||||
},
|
||||
'src/components/auth/LoginMfaStep.vue': {
|
||||
branches: 85,
|
||||
functions: 90,
|
||||
lines: 90,
|
||||
statements: 90,
|
||||
},
|
||||
'src/pages/login.vue': {
|
||||
branches: 75,
|
||||
functions: 80,
|
||||
lines: 80,
|
||||
statements: 80,
|
||||
},
|
||||
'src/stores/pluginSidebarNav.ts': {
|
||||
branches: 85,
|
||||
functions: 90,
|
||||
|
||||
Reference in New Issue
Block a user