master
ブランチ master
LittleBeast / view / twofactor.maron
1.1 KB、32行 生 Blame 履歴
1{@ include(common/header) @}
2 <h1 class="paragraph">二段階認証</h1>
3 <p class="paragraph">
4 認証アプリ(又はパスワードマネージャー)に表示されている6桁のコードを入力して下さい。
5 </p>
6
7{@ if ($error) @}
8 <div class="errormes">
9 {{ $error }}
10 </div>
11{@ endif @}
12
13 <form action="/login" method="POST">
14 <table>
15 <tbody>
16 <tr>
17 <td><label for="code">コード:</label></td>
18 <td><input type="text" id="code" name="code" value="" inputmode="numeric" maxlength="7" autocomplete="one-time-code" autofocus="autofocus" /></td>
19 </tr>
20 <tr>
21 <td></td>
22 <td>
23 <input type="hidden" name="username" value="{{ $nyuU }}" />
24 <input type="hidden" name="ticket" value="{{ $ticket }}" />
25 <input type="hidden" name="csrf_token" value="{{ make_csrf_token() }}" />
26 <button>確認</button> <a href="/login">最初から</a>
27 </td>
28 </tr>
29 </tbody>
30 </table>
31 </form>
32{@ include(common/footer) @}