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