[PR #188] fix(github): allow multiple accounts #282

Open
opened 2025-10-31 17:08:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pd4d10/git-touch/pull/188
Author: @shreyas1599
Created: 2/3/2021
Status: 🔄 Open

Base: mainHead: duplicate-account-screen


📝 Commits (4)

  • b8f59c4 fix(github): allow multiple accounts
  • 79791c5 fix: remove email, use any()
  • df8b043 Merge branch 'main' into duplicate-account-screen
  • bc3dc48 fix: any() null check error

📊 Changes

2 files changed (+56 additions, -12 deletions)

View changed files

📝 lib/models/auth.dart (+2 -2)
📝 lib/screens/login.dart (+54 -10)

📄 Description

Fixes #168

  • The authorization url has a login prop which I used. This will allow logging in to multiple accounts.
  • Regarding preventing creation of duplicate accounts, I added a method but if the user enters an email instead of the username, it won't work. (Not sure if this is the best way to do it. @pd4d10 please suggest if there's a better way)

🔄 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/pd4d10/git-touch/pull/188 **Author:** [@shreyas1599](https://github.com/shreyas1599) **Created:** 2/3/2021 **Status:** 🔄 Open **Base:** `main` ← **Head:** `duplicate-account-screen` --- ### 📝 Commits (4) - [`b8f59c4`](https://github.com/pd4d10/git-touch/commit/b8f59c4ebc93d3096f643af98fbec2e3bc3da81a) fix(github): allow multiple accounts - [`79791c5`](https://github.com/pd4d10/git-touch/commit/79791c53b99f33fd1e7f807444820deda9ac64a7) fix: remove email, use any() - [`df8b043`](https://github.com/pd4d10/git-touch/commit/df8b04390f1c2b778732e011f0dcb38da85c59a7) Merge branch 'main' into duplicate-account-screen - [`bc3dc48`](https://github.com/pd4d10/git-touch/commit/bc3dc4823305afadb1ccc19c64d840d7be15667e) fix: any() null check error ### 📊 Changes **2 files changed** (+56 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `lib/models/auth.dart` (+2 -2) 📝 `lib/screens/login.dart` (+54 -10) </details> ### 📄 Description Fixes #168 - The authorization url has a `login` prop which I used. This will allow logging in to multiple accounts. - Regarding preventing creation of duplicate accounts, I added a method but if the user enters an email instead of the username, it won't work. (Not sure if this is the best way to do it. @pd4d10 please suggest if there's a better way) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-10-31 17:08:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/git-touch#282