From 3a10e09469c97d503cb696d97ce378c97204137c Mon Sep 17 00:00:00 2001 From: Federico Maccaroni Date: Thu, 21 Mar 2024 13:28:38 -0300 Subject: [PATCH] PM-6706 Fixed UV attempts to be maximum 5 attempts and not 6 (#3103) --- .../UserVerification/UserVerificationMediatorService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Services/UserVerification/UserVerificationMediatorService.cs b/src/Core/Services/UserVerification/UserVerificationMediatorService.cs index 5b52382fd..3068c3631 100644 --- a/src/Core/Services/UserVerification/UserVerificationMediatorService.cs +++ b/src/Core/Services/UserVerification/UserVerificationMediatorService.cs @@ -195,7 +195,7 @@ namespace Bit.Core.Services.UserVerification { return new UVResult(true, true).AsCancellable(); } - } while (attempts++ < MAX_ATTEMPTS); + } while (++attempts < MAX_ATTEMPTS); return new UVResult(true, false).AsCancellable(); }