[PR #12417] [CLOSED] Feat: Allow admins to set a custom login popup for users #22908

Closed
opened 2026-04-20 04:29:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/12417
Author: @tarmst
Created: 4/3/2025
Status: Closed

Base: devHead: custom-login-popup


📝 Commits (2)

  • bfff842 Add custom login popup
  • e79e006 Fix 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:

  • 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
image

Settings available for the popup
image


🔄 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 ![image](https://github.com/user-attachments/assets/ec7109a4-f9dc-455c-9c16-7c4569733645) Settings available for the popup ![image](https://github.com/user-attachments/assets/8bf10409-033e-4c87-972d-d0f6d37f8181) --- <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:29:01 -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#22908