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