Skip to content

Commit

Permalink
fixing fly failair
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefkarim committed Sep 4, 2023
1 parent 72036bc commit dd2b170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ passport.use(new LocalStrategy(async(username, password, done)=>{
const match =await bcrypt.compare(password,user.password)
if(!user){
return done(null, false,{ message:'user does not exist. please check your username, please try again.'})
}
}
if(!match){
return done(null, false,{ message:'wrong password. please try again.'})
}
Expand Down

0 comments on commit dd2b170

Please sign in to comment.