feat(07.3-03): frontend remember_me — checkbox + ref threading + store pass-through

- LoginView.vue: add rememberMe ref(false) + "Stay signed in for 30 days" checkbox in password step; thread rememberMe.value through all 3 submit handlers (submitPassword, submitTotp, submitBackupCode) (D-12)
- stores/auth.js: login() forwards options.rememberMe as remember_me in api.login body (D-12)
- api/client.js: no change needed — already forwards full body verbatim
- Frontend build passes (vite build exits 0)
This commit is contained in:
curo1305
2026-06-06 17:23:02 +02:00
parent 9cc11b5446
commit 21e5d27c90
2 changed files with 16 additions and 1 deletions
+1
View File
@@ -66,6 +66,7 @@ export const useAuthStore = defineStore('auth', () => {
password,
totp_code: options.totpCode ?? null,
backup_code: options.backupCode ?? null,
remember_me: options.rememberMe ?? false,
})
if (data.requires_totp) {