mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[PR #1085] [MERGED] Improved new password error messages #3364
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3364
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/NginxProxyManager/nginx-proxy-manager/pull/1085
Author: @chaptergy
Created: 5/10/2021
Status: ✅ Merged
Merged: 5/12/2021
Merged by: @jc21
Base:
develop← Head:improved-new-password-error-messages📝 Commits (1)
899b487Puts backend errors into own error field📊 Changes
2 files changed (+22 additions, -10 deletions)
View changed files
📝
frontend/js/app/user/password.ejs(+2 -1)📝
frontend/js/app/user/password.js(+20 -9)📄 Description
Currently error messages like the current password being incorrect were shown just below the new password input field (see linked issue). However the Invalid password is just the error message directly from the backend, so it doesn't make sense to associate it with a specific form field at all.
In this PR there is a new error segment added at the very top. In there, all backend errors are now displayed.
Fixes https://github.com/jc21/nginx-proxy-manager/issues/1082.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.