update brilink

This commit is contained in:
fro1991
2025-05-08 01:25:56 +07:00
parent 62eb2b81b7
commit d95e8523eb

View File

@ -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);
}
} }