All Downloads are FREE. Search and download functionalities are using the official Maven repository.

theme.base.account.totp.ftl Maven / Gradle / Ivy

There is a newer version: 25.0.2
Show newest version
<#import "template.ftl" as layout>
<@layout.mainLayout active='totp' bodyClass='totp'; section>

    

${msg("authenticatorTitle")}

<#if totp.enabled> <#if totp.otpCredentials?size gt 1> <#else> <#list totp.otpCredentials as credential> <#if totp.otpCredentials?size gt 1>
${msg("configureAuthenticators")}
${msg("configureAuthenticators")}
${msg("mobile")}${credential.id} ${credential.userLabel!}
<#else>
  1. ${msg("totpStep1")}

      <#list totp.policy.supportedApplications as app>
    • ${app}
  2. <#if mode?? && mode = "manual">
  3. ${msg("totpManualStep2")}

    ${totp.totpSecretEncoded}

    ${msg("totpScanBarcode")}

  4. ${msg("totpManualStep3")}

    • ${msg("totpType")}: ${msg("totp." + totp.policy.type)}
    • ${msg("totpAlgorithm")}: ${totp.policy.getAlgorithmKey()}
    • ${msg("totpDigits")}: ${totp.policy.digits}
    • <#if totp.policy.type = "totp">
    • ${msg("totpInterval")}: ${totp.policy.period}
    • <#elseif totp.policy.type = "hotp">
    • ${msg("totpCounter")}: ${totp.policy.initialCounter}
  5. <#else>
  6. ${msg("totpStep2")}

    Figure: Barcode

    ${msg("totpUnableToScan")}

  7. ${msg("totpStep3")}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy