diff --git a/src/stores/auth.ts b/src/stores/auth.ts index f157460..9562410 100755 --- a/src/stores/auth.ts +++ b/src/stores/auth.ts @@ -51,7 +51,7 @@ export const useAuthStore = defineStore('auth', () => { if (response.status) { const data = response.user - // writeData('token', 'secret-token') + writeData('token', 'secret-token') writeData('user_name', data.username) writeData('user_access', 'Petugas') writeData('user_uid', data.namaUid) @@ -65,8 +65,7 @@ export const useAuthStore = defineStore('auth', () => { }) console.log(filterPresets.value) - console.log(data) - // window.location.reload() + window.location.reload() } else { dispatchNotification({ title: 'Login Gagal',