mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 22:21:27 -05:00
[PR #4253] [MERGED] fix: Fix the SensitiveInput the browser thought it was a password field #8225
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/4253
Author: @erickgodev
Created: 7/31/2024
Status: ✅ Merged
Merged: 8/1/2024
Merged by: @tjbck
Base:
dev← Head:fix-SensitiveInput-for-admin-pages📝 Commits (2)
3569fe9the fix for the issue where chrome thought the SensitiveInput input was a password fieldc44e51arefac📊 Changes
2 files changed (+6 additions, -2 deletions)
View changed files
📝
src/app.css(+4 -0)📝
src/lib/components/common/SensitiveInput.svelte(+2 -2)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
SensitiveInputcomponent so that Chrome does not mistakenly recognize inputs as passwords.Changed
SensitiveInputnow uses-webkit-text-security: discinstead oftype=password, causing the browser to not recognize the field as a password.Additional Information
-webkit-text-securityworks with all browsers from the last 4 years, and Open WebUI itself doesn't work in a version so old that-webkit-text-securityisn't supported. I tested it.Screenshots or Videos
Before
https://github.com/user-attachments/assets/a516daa0-4f06-431b-b739-2368a119a608
After
https://github.com/user-attachments/assets/da82e099-3eae-4c87-b1fb-d887d2561cbe
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.