update brilink
This commit is contained in:
@ -92,4 +92,8 @@ export class BrilinkMerchantTerminalUser {
|
|||||||
checkIfPasswordMatch(unencryptedPassword: string) {
|
checkIfPasswordMatch(unencryptedPassword: string) {
|
||||||
return bcrypt.compareSync(unencryptedPassword, this.password);
|
return bcrypt.compareSync(unencryptedPassword, this.password);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkIfPinMatch(unencryptedPin: string) {
|
||||||
|
return bcrypt.compareSync(unencryptedPin, this.pin);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user