2017-05-25 20:09:29 +07:00
|
|
|
extends layout/layout.pug
|
|
|
|
|
|
|
|
block form-header
|
|
|
|
<h1>Sign in</h1>
|
|
|
|
<img class="header-img" src="../img/padlock.png" alt="">
|
|
|
|
|
|
|
|
block content
|
2017-10-09 05:41:44 +07:00
|
|
|
p Hi <b>#{username}</b>, please complete second factor or <a href="/logout">logout</a>.
|
2017-08-05 02:20:31 +07:00
|
|
|
<div class="notification notification-totp"></div>
|
2017-05-25 20:09:29 +07:00
|
|
|
<form class="form-signin totp">
|
|
|
|
<div class="form-inputs">
|
2017-10-08 03:23:22 +07:00
|
|
|
<input type="text" autocomplete="off" class="form-control" id="token" placeholder="Token" required autofocus>
|
2017-05-25 20:09:29 +07:00
|
|
|
</div>
|
2017-07-27 04:45:26 +07:00
|
|
|
<button class="btn btn-lg btn-primary btn-block totp-button" type="submit">TOTP</button>
|
|
|
|
a(href=totp_identity_start_endpoint, class="pull-right link register-totp") Need to register?
|
2017-05-25 20:09:29 +07:00
|
|
|
<span class="clearfix"></span>
|
|
|
|
</form>
|
|
|
|
<hr>
|
2017-08-05 02:20:31 +07:00
|
|
|
<div class="notification notification-u2f"></div>
|
2017-05-25 20:09:29 +07:00
|
|
|
<form class="form-signin u2f">
|
2017-07-27 04:45:26 +07:00
|
|
|
<button class="btn btn-lg btn-primary btn-block u2f-button" type="submit">U2F</button>
|
|
|
|
a(href=u2f_identity_start_endpoint, class="pull-right link register-u2f") Need to register?
|
2017-05-25 20:09:29 +07:00
|
|
|
<span class="clearfix"></span>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
block entrypoint
|
|
|
|
<script>
|
|
|
|
| authelia.secondfactor();
|
|
|
|
</script>
|