mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-03 11:29:28 -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.totpLoading = false
|
||||||
this.isTotpEnabled = activationResponse.success
|
this.isTotpEnabled = activationResponse.success
|
||||||
this.recoveryCodes = activationResponse.recovery_codes
|
this.recoveryCodes = activationResponse.recovery_codes
|
||||||
|
this.form.get('totp_code').enable()
|
||||||
if (activationResponse.success) {
|
if (activationResponse.success) {
|
||||||
this.toastService.showInfo($localize`TOTP activated successfully`)
|
this.toastService.showInfo($localize`TOTP activated successfully`)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user