Skip to content

PROJ-400 - Fix update_user() function #50

@AdtSri413

Description

@AdtSri413

the update_user() function in models.py makes sure that the email is not a duplicate when updating it. However, it does not account for the fact that the user may not want to change their email. If this is the case and the user enters their old email in the email field, the program will reject the update since it believes this is a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions