mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-24 01:47:59 +01:00
8 lines
350 B
Text
8 lines
350 B
Text
h1 Two Factor Authentication
|
|
|
|
= form_for @changeset, Routes.session_totp_path(@conn, :create), [as: :user, method: "post"], fn f ->
|
|
.field
|
|
h4 Please enter your 2FA code
|
|
= text_input f, :twofactor_token, class: "input", placeholder: "6-digit code", required: true, autofocus: true, autocomplete: "off"
|
|
|
|
= submit "Sign in", class: "button"
|