feat: 로그인 모달 '로그인 상태 유지' 체크박스 (자동 로그인)
CI / build (push) Failing after 15m6s

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-05-31 21:47:03 +09:00
parent 964e615c54
commit 385f6c970e
3 changed files with 28 additions and 12 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ export const useAuthStore = defineStore('auth', () => {
else localStorage.removeItem(USER_KEY)
}
async function login(loginId, password) {
const res = await authApi.login({ loginId, password })
async function login(loginId, password, rememberMe = false) {
const res = await authApi.login({ loginId, password, rememberMe })
token.value = res.token
user.value = res.member
persist()