mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Update profile-edit-dialog.component.ts
This commit is contained in:
parent
f446d53a4e
commit
27e344b5ec
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user