mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
591 B
21 lines
591 B
2 years ago
|
extends ../layout.pug
|
||
|
|
||
|
block head
|
||
|
title Setup 2FA
|
||
|
|
||
|
block content
|
||
|
.board-header
|
||
|
h1.board-title Two Factor Authentication Setup
|
||
|
.form-wrapper.flex-center.mv-10
|
||
|
form.form-post.nogrow(action=`/forms/twofactor` method='POST' enctype='application/x-www-form-urlencoded')
|
||
|
input(type='hidden' name='_csrf' value=csrf)
|
||
|
|
||
|
h4.mv-5 Scan the QR Code in an authenticator app, and submit the code:
|
||
|
.row
|
||
|
span.code.hljs.twofactor #{qrCodeText}
|
||
|
.row
|
||
|
.label 2FA Code
|
||
|
input(type='number' name='twofactor' placeholder='6 digits')
|
||
|
.row
|
||
|
input(type='submit', value='Submit')
|