Sha256: 10043fd3fe7061401dab9192d088ad82c3a33d45eb456811187c5c7f58a550de

Contents?: true

Size: 982 Bytes

Versions: 13

Compression:

Stored size: 982 Bytes

Contents

<form method="post" class="rodauth" role="form" id="otp-setup-form">
  #{rodauth.otp_setup_additional_form_tags}
  <input type="hidden" id="otp-key" name="#{rodauth.otp_setup_param}" value="#{rodauth.otp_user_key}" />
  #{"<input type=\"hidden\" id=\"otp-hmac-secret\" name=\"#{rodauth.otp_setup_raw_param}\" value=\"#{rodauth.otp_key}\" />" if rodauth.otp_keys_use_hmac?}
  #{rodauth.csrf_tag}
  <div class="form-group">
    <p>#{rodauth.otp_secret_label}: #{rodauth.otp_user_key}</p>
    <p>#{rodauth.otp_provisioning_uri_label}: #{rodauth.otp_provisioning_uri}</p>
  </div>
 
  <div class="row">
    <div class="col-lg-6 col-lg">
      <div class="form-group">
        <p>#{rodauth.otp_qr_code}</p>
      </div>
    </div>

    <div class="col-lg-6 col-lg">
      #{rodauth.render('password-field') if rodauth.two_factor_modifications_require_password?}
      #{rodauth.render('otp-auth-code-field')}
      #{rodauth.button(rodauth.otp_setup_button)}
    </div>
  </div>
</form>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rodauth-2.12.0 templates/otp-setup.str
rodauth-2.11.0 templates/otp-setup.str
rodauth-2.10.0 templates/otp-setup.str
rodauth-2.9.0 templates/otp-setup.str
rodauth-2.8.0 templates/otp-setup.str
rodauth-2.7.0 templates/otp-setup.str
rodauth-2.6.0 templates/otp-setup.str
rodauth-2.5.0 templates/otp-setup.str
rodauth-2.4.0 templates/otp-setup.str
rodauth-2.3.0 templates/otp-setup.str
rodauth-2.2.0 templates/otp-setup.str
rodauth-2.1.0 templates/otp-setup.str
rodauth-2.0.0 templates/otp-setup.str