Skip to content

Dont return database errors #273

Open
@converter-user-old

Description

@converter-user-old

Version: 1.1.21.beta.0

Describe the bug

mssql: Cannot insert duplicate key row in object 'dbo.authorizer_verification_requests' with unique index 'idx_email_identifier'. The duplicate key value is (forgot_password, xxx).

This should not return the database error and instead just return "you already requested a reset token" or just send the user another token (or the same).

Steps To Reproduce

Call 2 times forgotPassword

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions