authorizer icon indicating copy to clipboard operation
authorizer copied to clipboard

Dont return database errors

Open converter-user-old opened this issue 3 years ago • 1 comments

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

converter-user-old avatar Oct 12 '22 14:10 converter-user-old

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

lakhansamani avatar Oct 12 '22 23:10 lakhansamani