Back to Paperless Ngx

Profile Edit Dialog.Component

src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html

3.0.31.4 KB
Original Source

Edit Profile

API Auth Token

@if (!copied()) { } @if (copied()) { } Copy Copied!

Warning: changing the token cannot be undone

@if (socialAccounts().length > 0) {

Connected social accounts

@for (account of socialAccounts(); track account.id) { - {{account.name}} ({{account.provider}}) }

Warning: disconnecting social accounts cannot be undone

} @if (socialAccountProviders().length > 0) {

Connect new social account

@for (provider of socialAccountProviders(); track provider.name) { {{provider.name}} }

} @if (!isTotpEnabled()) {

Two-factor Authentication

@if (totpSettingsLoading()) {

Loading... } @else if (totpSettings()) { @if (qrSvgDataUrl) { !Authenticator QR code } Scan the QR code with your authenticator app and then enter the code below

Authenticator secret: {{totpSettings().secret}}. You can store this secret and use it to reinstall your authenticator app at a later time.

Enable @if (totpLoading()) {

Loading... } }

} @else { Two-factor Authentication @if (recoveryCodes()) { Recovery codes will not be shown again, make sure to save them.

@for (code of recoveryCodes(); track code; let i = $index) { @if (i % 2 === 0) { - {{code}} @if (recoveryCodes()[i + 1]) { {{recoveryCodes()[i + 1]}} } } } @if (!codesCopied()) { Copy codes } @if (codesCopied()) { Copied! } } }

CancelSave