-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings__tfa.tpl
47 lines (40 loc) · 1.52 KB
/
settings__tfa.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{include file="header.tpl" title="Two Factor Authentication Settings" nav="settings"}
<div>
<h2 class=page-header">Two Factor Authentication Settings</h2>
<hr />
</div>
<div>
{include file="_partials/success.tpl"}
{include file="_partials/errors.tpl"}
<p>
Please download the Google Authenticator application from the
<a href="https://itunes.apple.com/en/app/google-authenticator/id388497605?mt=8">App Store for iOS</a> or
<a href="https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2">Google Play for Android</a>
and scan this QR code. Enter the verification code
provided by the Google Authenticaticator application below to enable Two Factor Authentication.
</p>
<p>
<img src="{$qrurl}">
</p>
{if $enabled}
<p>
Two factor authentication is already enabled on your account.
</p>
{else}
<form method="post" class="form-horizontal" role="form">
{include file="_partials/csrf.tpl"}
<div class="form-group">
<label for="inputName" class="col-sm-2 control-label">Enter your TFA Code</label>
<div class="col-sm-10">
<input type="text" name="authentication_code" class="form-control" id="inputVerifyCode" placeholder="Verify Code">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary">Enable TFA</button>
</div>
</div>
</form>
</div>
{/if}
{include file="footer.tpl"}