Skip to content

Commit

Permalink
feat(settings): revoke access when logging out in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
SaturneV committed Dec 10, 2024
1 parent c76b233 commit 588366f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ fun logout(
userViewModel: UserViewModel,
preferencesViewModel: PreferencesViewModel
) {
// Sign out from Google Service (disable auto-login)
// Sign out and revoke access from Google Service (disable auto-login)
authService.signOut()
authService.revokeAccess()

// Clear user viewmodel data
userViewModel.setUser(null)
Expand Down

0 comments on commit 588366f

Please sign in to comment.