mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-04 16:46:55 +00:00
fix: add signout api to clear refresh token from db and cookie
Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
@@ -11,8 +11,8 @@ const route = useRoute()
|
||||
|
||||
const email = computed(() => user.value?.email ?? '---')
|
||||
|
||||
const logout = () => {
|
||||
signOut()
|
||||
const logout = async () => {
|
||||
await signOut()
|
||||
navigateTo('/signin')
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user