varunKT001 / tomper-wear-ecommerce

E-commerce web-application for selling clothing essentials 😀
https://tomper-wear.netlify.app
MIT License
38 stars 48 forks source link

Bug: Improper error message at forgot password place #46

Open Devika-Sahu opened 2 years ago

Devika-Sahu commented 2 years ago

What happened?

User must get a proper error message like " USER NOT REGISTERED" while submitting an invalid email id at forgot password page but they get a very bad error message. image

How can we reproduce this bug?

It happens when user enters an email address that is not registered.

Additional context (if any)

Please assign this task to me.

Urgency (Optional)

High priority

github-actions[bot] commented 2 years ago

Hey @Devika-Sahu 👋, thank you for raising an issue. Please make sure that it is detailed, and also following the provided template.

varunKT001 commented 2 years ago

@Devika-Sahu This is a valid issue. But, I can see you have created 3 issues and all of them are valid issues. Also, at a time you can work on only one issue, so which one do you want to work on right now?

Devika-Sahu commented 2 years ago

@varunKT001 I would like to work on this issue right now.

Devika-Sahu commented 2 years ago

/assign

varunKT001 commented 2 years ago

@Devika-Sahu

First of all

/assign

you cannot self-assign 😅

Now, coming to the issue. Not only for the forgot-password, but you also have to solve this error for all the other parts too that handle auth.

So what you have to do is to create a centralized firebase error handler that handles all types of firebase auth errors. you can create the error handler file in the src/utils directory.

I'm assigning you this issue 🚀

varunKT001 commented 2 years ago

@Devika-Sahu Any updates?

Devika-Sahu commented 2 years ago

@varunKT001 I have completed it approximately. Just have to make a few changes. I will upload the new code by day after tomorrow.