mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 07:02:01 -05:00
[PR #54] [MERGED] [core] Sign Out from Current Device #58
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/54
Author: @ricoberger
Created: 10/29/2023
Status: ✅ Merged
Merged: 10/29/2023
Merged by: @ricoberger
Base:
main← Head:core-signout-from-current-device📝 Commits (1)
e0fae20[core] Sign Out from Current Device📊 Changes
1 file changed (+99 additions, -4 deletions)
View changed files
📝
app/lib/widgets/settings/profile/settings_profile_signout.dart(+99 -4)📄 Description
Until now a user was always signed out from all devices when he clicked on the "Sign Out" button in the settings. Now we will display a actions modal bottom sheet where a user can select if he wants to sign out from the current device or from all devices.
For this we pass the [SignOutScope] to the "signOut" function of Supabase. if the scope is "local" the user will be signed out from the current device. If the scope is "global" the user will be signed out from all devices.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.