[PR #1040] [MERGED] Fix 500 when use a duplicate email instead of giving an error tip #15726

Closed
opened 2025-11-02 11:53:12 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1040
Author: @lunny
Created: 2/24/2017
Status: Merged
Merged: 2/25/2017
Merged by: @lunny

Base: masterHead: lunny/fix_500_login_same_email


📝 Commits (1)

  • 6f210e2 fix 500 when use a duplicat email instead of giving an error tip

📊 Changes

2 files changed (+30 additions, -18 deletions)

View changed files

📝 models/login_source.go (+21 -11)
📝 routers/user/auth.go (+9 -7)

📄 Description

This will part to resolve #13 . And This also formatted the code by my vscode go plugin.


🔄 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/go-gitea/gitea/pull/1040 **Author:** [@lunny](https://github.com/lunny) **Created:** 2/24/2017 **Status:** ✅ Merged **Merged:** 2/25/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `lunny/fix_500_login_same_email` --- ### 📝 Commits (1) - [`6f210e2`](https://github.com/go-gitea/gitea/commit/6f210e249e77984cb750b884a49f7ebece4fc036) fix 500 when use a duplicat email instead of giving an error tip ### 📊 Changes **2 files changed** (+30 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `models/login_source.go` (+21 -11) 📝 `routers/user/auth.go` (+9 -7) </details> ### 📄 Description This will part to resolve #13 . And This also formatted the code by my vscode go plugin. --- <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-11-02 11:53:12 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15726