Update profile-edit-dialog.component.ts

This commit is contained in:
shamoon 2024-10-19 23:39:40 -07:00
parent f446d53a4e
commit 27e344b5ec

View File

@ -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 {