Skip to content

Email Verification fails when email does not match casing. #592

@xXPinkmagicXx

Description

@xXPinkmagicXx

When upgrading your account if you write Abc@email.com instead of abc@email.com
The email varification will fail.

    @classmethod
    def find_last_code(cls, email):
        """Return the last code object for the given email, or None if not found"""
        return cls.query.filter(cls.email == email).order_by(cls.time.desc()).first()

You get this error but only when you are trying to confirm you password. This is not intuitive. As the correct error messages is not displayed either
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions