From d95e8523eb8c12e6b48b5cd792f014abd6eaaf35 Mon Sep 17 00:00:00 2001 From: fro1991 Date: Thu, 8 May 2025 01:25:56 +0700 Subject: [PATCH] update brilink --- src/entity/brilink_merchant_terminal_users.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/entity/brilink_merchant_terminal_users.ts b/src/entity/brilink_merchant_terminal_users.ts index f5fe89f..737ec41 100644 --- a/src/entity/brilink_merchant_terminal_users.ts +++ b/src/entity/brilink_merchant_terminal_users.ts @@ -92,4 +92,8 @@ export class BrilinkMerchantTerminalUser { checkIfPasswordMatch(unencryptedPassword: string) { return bcrypt.compareSync(unencryptedPassword, this.password); } + + checkIfPinMatch(unencryptedPin: string) { + return bcrypt.compareSync(unencryptedPin, this.pin); + } } \ No newline at end of file