Tuesday, 3 December 2019

Throwing an Error for Authentication doesn't work

Hey there! I'm trying to throw an error when the email is not registered or the password doesn't match with the password linked in MongoDB with the email. I've done this a couple of times and it has always worked well, until today. On the left the method is invoked and in the right side it's defined. I'm using MongoDB and the query works completely fine. Mysterious thing, he login system works fine but when either email or password is wrong, doesn't display the desired error.What am I doing wrong or missing?Thanks for your help.​https://preview.redd.it/3cooogdusi241.png?width=1920&format=png&auto=webp&s=efa59843c66841bb14a5dc089d4f7fd2e3608e1c

Submitted December 04, 2019 at 01:36AM by nicode320

No comments:

Post a Comment