diff --git a/src/core/helpers/otp/otp-service.ts b/src/core/helpers/otp/otp-service.ts index f63057b..9b0e33e 100644 --- a/src/core/helpers/otp/otp-service.ts +++ b/src/core/helpers/otp/otp-service.ts @@ -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; } }