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.
## 📋 Pull Request Information
**Original PR:** https://github.com/feeddeck/feeddeck/pull/54
**Author:** [@ricoberger](https://github.com/ricoberger)
**Created:** 10/29/2023
**Status:** ✅ Merged
**Merged:** 10/29/2023
**Merged by:** [@ricoberger](https://github.com/ricoberger)
**Base:** `main` ← **Head:** `core-signout-from-current-device`
---
### 📝 Commits (1)
- [`e0fae20`](https://github.com/feeddeck/feeddeck/commit/e0fae204b8afeb80a71325930b882bac519a364b) [core] Sign Out from Current Device
### 📊 Changes
**1 file changed** (+99 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `app/lib/widgets/settings/profile/settings_profile_signout.dart` (+99 -4)
</details>
### 📄 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.
<!--
Keep PR title verbose enough and add prefix telling about what source it touches e.g "[rss] Add feature xyz" or if the
the PR is not realated to a source use "[core]", e.g. "[core] Fix xyz".
If you add a breaking change within your PR you should add ":warning:" to the title,
e.g. ":warning: [core] My breaking change"
-->
<!--
Description of what have been changed. Please also reference an issue, when available.
-->
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.