From 27e344b5ecb08694f1fd9176a21beffbaaa8c391 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 19 Oct 2024 23:39:40 -0700 Subject: [PATCH] Update profile-edit-dialog.component.ts --- .../common/profile-edit-dialog/profile-edit-dialog.component.ts | 1 + 1 file changed, 1 insertion(+) 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 {