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>
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/open-webui/open-webui/pull/10045
Author: @crizCraig
Created: 2/15/2025
Status: ❌ Closed
Base:
dev← Head:allow_disable_password_signups📝 Commits (5)
59ac317feat: allow disabling password signups in favor of oauthb7179a2style: npm run format8caa73aMerge branch 'dev' into allow_disable_password_signupseb07bd2style: npm run format8fa67ecstyle: 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.