Sha256: 6eb3d83992a7e22a25008f74e1e4d54ac1e6041e404626f0683baac2192e719d

Contents?: true

Size: 992 Bytes

Versions: 25

Compression:

Stored size: 992 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 mb-3">
    <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 mb-3">
        <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

25 entries across 25 versions & 1 rubygems

Version Path
rodauth-2.17.0 templates/otp-setup.str
rodauth-2.16.0 templates/otp-setup.str
rodauth-2.15.0 templates/otp-setup.str
rodauth-2.14.0 templates/otp-setup.str
rodauth-2.13.0 templates/otp-setup.str