Merge pull request 'feat/otp-cancel' (#147) from feat/otp-cancel into development

Reviewed-on: #147
pull/157/head 1.6.10-alpha.1
firmanr 2025-06-10 13:21:34 +07:00
commit 18afc47030
1 changed files with 1 additions and 2 deletions

View File

@ -50,9 +50,8 @@ export class OtpService {
this.hasRepeatedDigits(otp) || this.hasRepeatedDigits(otp) ||
this.isPalindrome(otp) || this.isPalindrome(otp) ||
this.hasPartiallyRepeatedDigits(otp) || this.hasPartiallyRepeatedDigits(otp) ||
otp?.split('')?.length < this.otpLength otp?.length < this.otpLength
); );
return otp; return otp;
} }
} }