Skip to content

Commit a807dc7

Browse files
committed
fix(totp): remove unnecessary error check from verification code input
1 parent 45d3bef commit a807dc7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend/src/app/shared/components/auth/totp/totp.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ <h4 class="fw-semibold mb-2 text-dark">Two-Factor Authentication</h4>
8181
maxlength="6"
8282
autocomplete="one-time-code"
8383
placeholder="Enter 6-digit code"
84-
[class.is-invalid]="verifyForm.submitted && (verificationCode.length < 6 || verifyForm.invalid || hasError)"
85-
[disabled]="isVerifying || isVerified"
84+
[class.is-invalid]="verifyForm.submitted && (verificationCode.length < 6 || verifyForm.invalid)"
8685
style="border-color: #d1d5db; font-family: 'Courier New', monospace; letter-spacing: 2px; text-align: center; font-size: 16px!important; height: 45px!important;"
8786
/>
8887
</div>

0 commit comments

Comments
 (0)