-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
| if ( user.password !== password ) { |
On the line
#34 compareSync function returns either true or false.On the line
#36 the returned value is compared with the user password wich doesn't makes any sense because the user password will never be true.So instead of
if ( user.password !== password ) { it's better to use if ( password) { to check if given password is correct or not.Metadata
Metadata
Assignees
Labels
No labels