Before submitting, make sure you've checked the following:
Target branch: Please verify that the pull request targets the dev branch.
Description: Provide a concise description of the changes made in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
No new dependencies
Testing: Have you written and run sufficient tests to validate the changes?
Have tested the code to make sure it works & doesn't conflict with any existing code.
Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
Prefix: To clearly categorize this pull request, prefix the pull request title using one of the following:
feat: Introduces a new feature or enhancement to the codebase
Changelog Entry
Description
Added a custom login popup that admins can configure to show on each login, or once (until the OWUI instance restarts). Allows admins to display custom title & content to users upon login. This can also be completely disabled, and is disabled by default.
Added
Added a custom login popup
Images
A custom login popup upon login
Settings available for the popup
🔄 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/12417
**Author:** [@tarmst](https://github.com/tarmst)
**Created:** 4/3/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `custom-login-popup`
---
### 📝 Commits (2)
- [`bfff842`](https://github.com/open-webui/open-webui/commit/bfff8426df1f0f2d3b911d95d1f50bced885a0ef) Add custom login popup
- [`e79e006`](https://github.com/open-webui/open-webui/commit/e79e00617b0ce60b31ea7171cf66f689f35f371a) Fix admin settings file to match recent owui commits
### 📊 Changes
**9 files changed** (+283 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/config.py` (+23 -0)
📝 `backend/open_webui/main.py` (+22 -0)
📝 `backend/open_webui/routers/auths.py` (+31 -0)
📝 `backend/open_webui/routers/users.py` (+23 -0)
📝 `src/lib/apis/index.ts` (+26 -0)
➕ `src/lib/components/CustomLoginModal.svelte` (+90 -0)
📝 `src/lib/components/admin/Settings/General.svelte` (+48 -1)
📝 `src/lib/stores/index.ts` (+3 -0)
📝 `src/routes/(app)/+layout.svelte` (+17 -1)
</details>
### 📄 Description
# Pull Request Checklist
**Before submitting, make sure you've checked the following:**
- [x] **Target branch:** Please verify that the pull request targets the `dev` branch.
- [x] **Description:** Provide a concise description of the changes made in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [x] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources?
- [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
- No new dependencies
- [x] **Testing:** Have you written and run sufficient tests to validate the changes?
- Have tested the code to make sure it works & doesn't conflict with any existing code.
- [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
- [x] **Prefix:** To clearly categorize this pull request, prefix the pull request title using one of the following:
- **feat**: Introduces a new feature or enhancement to the codebase
# Changelog Entry
### Description
- Added a custom login popup that admins can configure to show on each login, or once (until the OWUI instance restarts). Allows admins to display custom title & content to users upon login. This can also be completely disabled, and is disabled by default.
### Added
- Added a custom login popup
### Images
A custom login popup upon login

Settings available for the popup

---
<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/12417
Author: @tarmst
Created: 4/3/2025
Status: ❌ Closed
Base:
dev← Head:custom-login-popup📝 Commits (2)
bfff842Add custom login popupe79e006Fix admin settings file to match recent owui commits📊 Changes
9 files changed (+283 additions, -2 deletions)
View changed files
📝
backend/open_webui/config.py(+23 -0)📝
backend/open_webui/main.py(+22 -0)📝
backend/open_webui/routers/auths.py(+31 -0)📝
backend/open_webui/routers/users.py(+23 -0)📝
src/lib/apis/index.ts(+26 -0)➕
src/lib/components/CustomLoginModal.svelte(+90 -0)📝
src/lib/components/admin/Settings/General.svelte(+48 -1)📝
src/lib/stores/index.ts(+3 -0)📝
src/routes/(app)/+layout.svelte(+17 -1)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
Images
A custom login popup upon login

Settings available for the popup

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.