Skip to content

No relevant user found on email with capital letters. #3342

@l0ner

Description

@l0ner

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug

Adding a user that has capital letters in it's email and then trying to log in that user is will result in "No relevant user found".

This is most probably caused by changes introduced in PR #2638, which adds transformation to lowercase of the user email when logging in, but not when adding a user.

Nginx Proxy Manager Version

v2.10.4

To Reproduce
Steps to reproduce the behavior:

  1. Log in to NPM with admin credentials
  2. Add a user with email '[email protected]'
  3. Try to log in from the login page with that user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions