[PR #2638] [MERGED] Use session when creating user #16516

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2638
Author: @ethantkoenig
Created: 10/2/2017
Status: Merged
Merged: 10/3/2017
Merged by: @lafriks

Base: masterHead: fix/use_session


📝 Commits (2)

  • 4356b4e Use session when creating user
  • b878b37 Merge branch 'master' into fix/use_session

📊 Changes

1 file changed (+20 additions, -16 deletions)

View changed files

📝 models/user.go (+20 -16)

📄 Description

Use session when checking for pre-existing usernames and email addresses, not just when inserting user.


🔄 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/2638 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 10/2/2017 **Status:** ✅ Merged **Merged:** 10/3/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `fix/use_session` --- ### 📝 Commits (2) - [`4356b4e`](https://github.com/go-gitea/gitea/commit/4356b4eba7b9484766af25fcf238cfced8c856ca) Use session when creating user - [`b878b37`](https://github.com/go-gitea/gitea/commit/b878b37ba81ce86f8f81b61e1a9557ed7583faba) Merge branch 'master' into fix/use_session ### 📊 Changes **1 file changed** (+20 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `models/user.go` (+20 -16) </details> ### 📄 Description Use session when checking for pre-existing usernames and email addresses, not just when inserting user. --- <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 12:12:26 -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#16516