mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #4665] INITIAL_ADMIN_EMAIL with upper case character results in Invalid email or password #2966
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#2966
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 @JMDirksen on GitHub (Jul 19, 2025).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4665
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
When using the INITIAL_ADMIN_EMAIL environment variable with an email address with upper case characters you are not allowed to login (Invalid email or password) because it expects to find the email address with only lower case characters in the database.
Nginx Proxy Manager Version
v2.12.6
To Reproduce
Steps to reproduce the behavior:
docker compose upShows:
Creating a new user: Admin@example.com with password: changemeResult: Invalid email or password
Expected behavior
Since the rest of the application does a toLowerCase() before changing the email in the database the initial setup.js should also do a toLowerCase() on the environment variable
I've created a PR #4664
@robinmalik commented on GitHub (Nov 4, 2025):
Hitting this too. Thanks for figuring out the root cause.
@JMDirksen commented on GitHub (Nov 4, 2025):
You're welcome, it got fixed in the update that was released today v2.13.0 #4825