mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-27 20:07:29 -05:00
[GH-ISSUE #20647] feat: Improve User Feedback When Admin-Created Password Does Not Meet Policy Requirements #73850
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?
Originally created by @joaoback on GitHub (Jan 13, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20647
Originally assigned to: @Classic298 on GitHub.
Check Existing Issues
Verify Feature Scope
Problem Description
🚨 Improve User Feedback When Admin-Created Password Does Not Meet Policy Requirements
Description
When an administrator creates a new user in Open WebUI and sets an initial password that does not meet the configured minimum password requirements, the system currently returns only a generic error message.
This behavior makes it difficult for administrators to understand:
Current Behavior
Desired Solution you'd like
Expected Behavior
When the password provided by the administrator does not meet the configured policy, the UI should:
Display a clear and specific validation error
Indicate which requirement(s) failed (e.g.:
)
Ideally, show the password policy rules or a summarized hint near the password field
Why This Matters
Suggested Improvements (Optional)
PASSWORD_TOO_SHORT,PASSWORD_POLICY_VIOLATION)Environment
Additional Context
This issue becomes more relevant in environments where custom or stricter password policies are configured, as the lack of feedback significantly impacts administrative workflows.
Alternatives Considered
No response
Additional Context
No response
@Classic298 commented on GitHub (Jan 13, 2026):
hm not sure HOW that is possible since it's a regex that configures it. let me investigate
@Classic298 commented on GitHub (Jan 13, 2026):
https://github.com/open-webui/open-webui/pull/20650
i guess this is the best you can do
@Steve-Li-1998 commented on GitHub (Jan 16, 2026):
I guess I meet the same problem, but not only the admin generated password but also self generated password. I set a strong password successfully but when I try to login again the system prompts that I type a wrong email address or password
@Steve-Li-1998 commented on GitHub (Jan 16, 2026):
It seems that in current version the password cannot longer than 8 digit, but last version there are no such limits. I don't know whether it's a bug or a feature.
@Classic298 commented on GitHub (Jan 16, 2026):
passwords cannot be longer than ~72 chars
@Steve-Li-1998 commented on GitHub (Jan 16, 2026):
In the end, I found that the problem might be that the login page isn’t very compatible with the password manager’s auto-fill feature. Once the password is auto-filled, it shows a “wrong password” message, and even if I manually clear it and re-enter it, it still doesn’t work. I have to refresh the page and then manually input the email and password for it to succeed.
@Classic298 commented on GitHub (Jan 19, 2026):
https://github.com/open-webui/open-webui/pull/20650