mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 09:55:51 +03:00
[GH-ISSUE #4983] fresh install from docker bug with capitalize letters in email #3083
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#3083
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?
Originally created by @grand-lotus-iroh on GitHub (Nov 23, 2025).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4983
If you type in email with capital letter, you get error
"Invalid email or password"
and than it redirects and is broken and you must remove and redeploy with docker command
@YuriySamorodov commented on GitHub (Nov 28, 2025):
Can confirm the same issue.
Workaround:
In my case making both email, user name and nickmame lowercase allowed me to login successfully.
It happily accepted upper case letters, special characters and digits for password though.
Environment:
@Bi11 commented on GitHub (Dec 7, 2025):
I can confirm this behavior.
It appears that PR #4664 only fixed this issue when the admin is created via the INITIAL_ADMIN_EMAIL environment variable.
However, the backend logic for creating a user via the UI (Initial Setup) was not updated. It still saves the email exactly as input (preserving uppercase), while the login validator forces lowercase. This mismatch causes the permanent lockout.
The issue seems to be located in backend/internal/user.js:
github.com/NginxProxyManager/nginx-proxy-manager@847c58b170/backend/internal/user.js (L26-L40)The email field in the payload needs to be normalized (e.g., .toLowerCase()) before being inserted into the database.