diff --git a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.ts b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.ts index b4137d58b..a4dbaf7d6 100644 --- a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.ts +++ b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.ts @@ -259,6 +259,7 @@ export class ProfileEditDialogComponent implements OnInit, OnDestroy { this.totpLoading = false this.isTotpEnabled = activationResponse.success this.recoveryCodes = activationResponse.recovery_codes + this.form.get('totp_code').enable() if (activationResponse.success) { this.toastService.showInfo($localize`TOTP activated successfully`) } else {