glacier-web-cli 0.5.0

Command-line tool for creating and running Glacier applications.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{% props alert: String %}
<h1>Two-factor sign-in</h1>
<p>Enter the code from your authenticator app, or one of your recovery
codes.</p>
{%- if !alert.is_empty() %}
<p class="alert">{{ alert }}</p>
{%- end %}

{{ form_tag(two_factor_challenge_path(), "post") }}
  <p>
    <label>Code<br><input name="code" required autofocus autocomplete="one-time-code"></label>
  </p>
  <button>Sign in</button>
</form>