Merge branch 'development' of ssh://git.eigen.co.id:2222/eigen/pos-be into development
commit
399ca0bdda
|
@ -50,9 +50,8 @@ export class OtpService {
|
|||
this.hasRepeatedDigits(otp) ||
|
||||
this.isPalindrome(otp) ||
|
||||
this.hasPartiallyRepeatedDigits(otp) ||
|
||||
otp?.split('')?.length < this.otpLength
|
||||
otp?.length < this.otpLength
|
||||
);
|
||||
|
||||
return otp;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue