[PR #10045] [CLOSED] feat: allow disabling password signups #22463

Closed
opened 2026-04-20 04:10:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/10045
Author: @crizCraig
Created: 2/15/2025
Status: ❌ Closed

Base: dev ← Head: allow_disable_password_signups


📝 Commits (5)

  • 59ac317 feat: allow disabling password signups in favor of oauth
  • b7179a2 style: npm run format
  • 8caa73a Merge branch 'dev' into allow_disable_password_signups
  • eb07bd2 style: npm run format
  • 8fa67ec style: npm run format all files

📊 Changes

13 files changed (+75 additions, -40 deletions)

View changed files

📝 backend/open_webui/config.py (+10 -0)
📝 backend/open_webui/main.py (+3 -0)
📝 backend/open_webui/routers/auths.py (+1 -0)
📝 postcss.config.js (+1 -1)
📝 src/lib/components/admin/Evaluations/Feedbacks.svelte (+3 -1)
📝 src/lib/components/admin/Evaluations/Leaderboard.svelte (+3 -1)
📝 src/lib/components/admin/Users/UserList.svelte (+3 -1)
📝 src/lib/components/chat/Messages/Skeleton.svelte (+15 -5)
📝 src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte (+0 -1)
📝 src/lib/components/chat/Settings/General.svelte (+4 -2)
📝 src/lib/components/layout/Sidebar/SearchInput.svelte (+1 -3)
📝 src/lib/stores/index.ts (+1 -0)
📝 src/routes/auth/+page.svelte (+30 -25)

📄 Description

Deploying public instances can lead to abuse of the email signup since emails don't get verified. Manually approving signups is not ideal as it prevents legitimate users from being able to easily signup. This PR allows disabling email/password signups in the UI and on the server. Oauth can then be use to help prevent people creating tons of accounts to get free usage. This as I charge for usage after a certain amount of free use.


🔄 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/open-webui/open-webui/pull/10045 **Author:** [@crizCraig](https://github.com/crizCraig) **Created:** 2/15/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `allow_disable_password_signups` --- ### 📝 Commits (5) - [`59ac317`](https://github.com/open-webui/open-webui/commit/59ac3177dfe5b2aadc50576958aefaa63d322782) feat: allow disabling password signups in favor of oauth - [`b7179a2`](https://github.com/open-webui/open-webui/commit/b7179a234f29dd4d7eeb9fcf3f90e52e661b0660) style: npm run format - [`8caa73a`](https://github.com/open-webui/open-webui/commit/8caa73a23b1b4f3dce6738edb56b7080d7a5446d) Merge branch 'dev' into allow_disable_password_signups - [`eb07bd2`](https://github.com/open-webui/open-webui/commit/eb07bd27970b77cdf29afefda805241358bccb11) style: npm run format - [`8fa67ec`](https://github.com/open-webui/open-webui/commit/8fa67ec188a28e390ea784b460013ed934028ed3) style: npm run format all files ### 📊 Changes **13 files changed** (+75 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/config.py` (+10 -0) 📝 `backend/open_webui/main.py` (+3 -0) 📝 `backend/open_webui/routers/auths.py` (+1 -0) 📝 `postcss.config.js` (+1 -1) 📝 `src/lib/components/admin/Evaluations/Feedbacks.svelte` (+3 -1) 📝 `src/lib/components/admin/Evaluations/Leaderboard.svelte` (+3 -1) 📝 `src/lib/components/admin/Users/UserList.svelte` (+3 -1) 📝 `src/lib/components/chat/Messages/Skeleton.svelte` (+15 -5) 📝 `src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte` (+0 -1) 📝 `src/lib/components/chat/Settings/General.svelte` (+4 -2) 📝 `src/lib/components/layout/Sidebar/SearchInput.svelte` (+1 -3) 📝 `src/lib/stores/index.ts` (+1 -0) 📝 `src/routes/auth/+page.svelte` (+30 -25) </details> ### 📄 Description Deploying public instances can lead to abuse of the email signup since emails don't get verified. Manually approving signups is not ideal as it prevents legitimate users from being able to easily signup. This PR allows disabling email/password signups in the UI and on the server. Oauth can then be use to help prevent people creating tons of accounts to get free usage. This as I charge for usage after a certain amount of free use. --- <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 2026-04-20 04:10:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#22463