@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()) {
@if (totpSettingsLoading()) {
Loading...
} @else if (totpSettings()) {
@if (qrSvgDataUrl) {
}
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.
}
} @else {
@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]}}
}
}
}
}
}