Mongo-Node/function/Users/pass.js
2025-11-21 09:23:11 +01:00

12 lines
No EOL
272 B
JavaScript

function checkpass(enteredPassword){
// return await bcrypt.compare(enteredPassword, this.password)
return ('HOL'+enteredPassword+'OLI'===this.password)
}
function sayHello(){
return console.log(this.email)
}
module.exports = {
checkpass,
sayHello
}