Added two factor auth setting to Preferences page.

This commit is contained in:
zjean
2016-02-08 22:28:24 +01:00
parent fbe3be169d
commit e04388a230
4 changed files with 42 additions and 11 deletions

View File

@@ -137,6 +137,26 @@
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'pref_two_factor_auth'|_ }}</h3>
</div>
<div class="box-body">
<p class="text-info">{{ 'pref_two_factor_auth_help'|_ }}</p>
<div class="form-group">
<div class="col-sm-10">
<div class="checkbox">
<label>
<input type="checkbox" name="twoFactorAuthEnabled" value="1"
{% if twoFactorAuthEnabled == '1' %} checked {% endif %}> {{ 'pref_enable_two_factor_auth'|_ }}
</label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">