Registry Mirror
Skip to content

Dont return database errors #273

Done

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

Activity

  1. added
    bug
    on Oct 12, 2022
  2. lakhansamani commented on Oct 12, 2022

    @lakhansamani
    Contributor

    @ruessej thanks for this request.
    I will working on fixing error message for all the resolvers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions