<commit_before>- @title = "Two-factor Authentication"

#login.panel
  h3 Two-factor authentication
  form role="form" method="post" action="/login"
    == render :slim, :"_flash", layout: false
    input type="hidden" name=Rack::Csrf.field value=Rack::Csrf.token(env)
    .form-group
      label for="code" Two-factor authentication code:
      .input-icon.icon-2fa
      input#code.form-control type="text" name="code" size="6" autocomplete="off" autofocus="true" placeholder="Two-factor code" tabindex="1"
    button.btn.btn-primary.btn-lg.btn-block type="submit" name="commit" tabindex="2" Log In

  .panel-footer
    form role="form" method="post" action="/account/two-factor/recovery/sms"
      p.help-block Don't have access to your authenticator app?
      p.help-block
        a href="/account/two-factor/recovery" Enter a recovery code
        - if @cookie.sms_number
          | &nbsp;or&nbsp;
          input type="hidden" name=Rack::Csrf.field value=Rack::Csrf.token(env)
          button.btn.btn-link type="submit" get a code via SMS<commit_msg>Change 2fa "Log In" to "Verify"<commit_after>- @title = "Two-factor Authentication"

#login.panel
  h3 Two-factor authentication
  form role="form" method="post" action="/login"
    == render :slim, :"_flash", layout: false
    input type="hidden" name=Rack::Csrf.field value=Rack::Csrf.token(env)
    .form-group
      label for="code" Two-factor authentication code:
      .input-icon.icon-2fa
      input#code.form-control type="text" name="code" size="6" autocomplete="off" autofocus="true" placeholder="Two-factor code" tabindex="1"
    button.btn.btn-primary.btn-lg.btn-block type="submit" name="commit" tabindex="2" Verify

  .panel-footer
    form role="form" method="post" action="/account/two-factor/recovery/sms"
      p.help-block Don't have access to your authenticator app?
      p.help-block
        a href="/account/two-factor/recovery" Enter a recovery code
        - if @cookie.sms_number
          | &nbsp;or&nbsp;
          input type="hidden" name=Rack::Csrf.field value=Rack::Csrf.token(env)
          button.btn.btn-link type="submit" get a code via SMS
{'fraction_non_alphanumeric': 0.14432989690721648, 'fraction_numerical': 0.005154639175257732, 'mean_word_length': 3.5913978494623655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '316355', 'n_tokens_mistral': 703, 'n_tokens_neox': 683, 'n_words': 157}