You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey..
came around this repo and poked around a bit.
Currently no matter what password you provide, backend will auth you in ....
i think the issue is here....
constpasswordMatch=user.comparePassword(password);// isnt this a promise... ?// so maybe .... changing it to constpasswordMatch=awaituser.comparePassword(password);if(!passwordMatch){returndone(null,false,'Incorrect password.');}returndone(null,user);// and changing this line to not return fixes things. done(null,user)
Thoughts....?
The text was updated successfully, but these errors were encountered:
Hey..
came around this repo and poked around a bit.
Currently no matter what password you provide, backend will auth you in ....
i think the issue is here....
Thoughts....?
The text was updated successfully, but these errors were encountered: