mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-12 15:52:39 +10:00
fix signout
This commit is contained in:
@ -42,6 +42,6 @@ const user = useUser();
|
||||
user.value = null;
|
||||
|
||||
// Redirect to signin page after signout
|
||||
await $dropFetch("/signout");
|
||||
await $dropFetch("/api/v1/auth/signout"); //TODO: add signout api route
|
||||
router.push("/auth/signin");
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user