extends ../layouts/main
block content

  section.uk-section.uk-section-primary.uk-section-xsmall
    .uk-container
      h1 2FA Setup Successful

  section.uk-section.uk-section-default.uk-section-xsmall
    .uk-container 
      h3 You should save these tokens in a safe place. This is the only time you will see them.
      p These tokens should be saved in a safe place so you can get into your account should you lose your 2FA device
        each token of otpAccount.backupTokens
          ul.uk-list.uk-list-divider
            li
              .uk-text-small= token.token
      

  section.uk-section.uk-section-default.uk-section-xsmall
    .uk-container
      p Your account is now enabled with access to #{site.name} #{otpAccount.service}.
      a(href= otpRedirectURL, title="Continue").uk-button.uk-button-primary.uk-border-pill Continue

