Hash Password does not match while loading from DB

Solution 1:

While storing password in DB I stored it in lowercase letters so everytime while comparing user entered password from db password it results to False.

So, by removing lowercase: true from password of User schema my error got resolved.