mirror of
https://github.com/Paris-est-Ludique/ForceOrange.git
synced 2025-09-11 14:36:29 +02:00
🐛 fixing routing after reset password success
This commit is contained in:
@@ -6,7 +6,7 @@ defineOptions({
|
||||
})
|
||||
|
||||
const router = useRouter()
|
||||
const { user, displayName, waitingMailValidation, loading } = storeToRefs(useProfile())
|
||||
const { user, displayName, waitingMailValidation, loading } = storeToRefs(useMember())
|
||||
const { auth } = useSupabaseClient<Database>()
|
||||
const { showErrorPage } = useErrorSystem()
|
||||
|
||||
@@ -32,7 +32,7 @@ const signOut = async () => {
|
||||
const { error } = await auth.signOut()
|
||||
|
||||
showErrorPage(error)
|
||||
router.push('/')
|
||||
router.push('/signin')
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user