[GH-ISSUE #1210] pangctl set-admin-credentials does not work if email address has upper-case letters #1810

Closed
opened 2026-04-16 08:39:49 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @DavidAUM23 on GitHub (Aug 4, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1210

Originally assigned to: @miloschwartz on GitHub.

Initial user setup with an email address like:

NotRealUSER@gmail.com

The initial email address and password combo worked flawlessly.

Finding a need to change the initial admin user password, I used:

sudo docker exec -it pangolin pangctl set-admin-credentials --email "NotRealUSER@gmail.com" --password "Great^Pass4sure" 

and was greeted with a happy:

Server admin password updated
Admin credentials updated successfully

But when I went to the login page, the new combo was not accepted.

After believing for too long that I had a typo somewhere, I discovered that it was the upper-case letters in the email address that caused the suffering.

When I used:

sudo docker exec -it pangolin pangctl set-admin-credentials --email "notrealuser@gmail.com" --password "Great^Pass4sure"

I was again greeted with a happy:

Server admin email updated
Admin credentials updated successfully

Thereafter, using the lower-case email address along with the new password went back to working flawlessly.

Please let me know if additional information/logs would be helpful.
...or if you are unable to reproduce it, and I simply dreamt this event.

-David

Originally created by @DavidAUM23 on GitHub (Aug 4, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/1210 Originally assigned to: @miloschwartz on GitHub. Initial user setup with an email address like: ``` NotRealUSER@gmail.com ``` The initial email address and password combo worked flawlessly. Finding a need to change the initial admin user password, I used: ``` sudo docker exec -it pangolin pangctl set-admin-credentials --email "NotRealUSER@gmail.com" --password "Great^Pass4sure" ``` and was greeted with a happy: ``` Server admin password updated Admin credentials updated successfully ``` But when I went to the login page, the new combo was not accepted. After believing for too long that I had a typo somewhere, I discovered that it was the upper-case letters in the email address that caused the suffering. When I used: ``` sudo docker exec -it pangolin pangctl set-admin-credentials --email "notrealuser@gmail.com" --password "Great^Pass4sure" ``` I was again greeted with a happy: ``` Server admin email updated Admin credentials updated successfully ``` Thereafter, using the lower-case email address along with the new password went back to working flawlessly. Please let me know if additional information/logs would be helpful. ...or if you are unable to reproduce it, and I simply dreamt this event. -David
GiteaMirror added the non-critical bug label 2026-04-16 08:39:49 -05:00
Author
Owner

@miloschwartz commented on GitHub (Aug 7, 2025):

Looks like the pangctl command doesn't force the email to lower case before storing the db. Easy fix- will include in next release. Thanks!

<!-- gh-comment-id:3166053785 --> @miloschwartz commented on GitHub (Aug 7, 2025): Looks like the pangctl command doesn't force the email to lower case before storing the db. Easy fix- will include in next release. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#1810