Fix some logic in the preferences controller.

This commit is contained in:
James Cole
2016-03-07 20:14:24 +01:00
parent 8828aa0621
commit e06dc86bf7
2 changed files with 50 additions and 60 deletions

View File

@@ -155,7 +155,7 @@
</div>
</div>
{% if twoFactorAuthEnabled == '1' and hasTwoFactorAuthSecret == true %}
{% if twoFactorAuthEnabled == 1 and hasTwoFactorAuthSecret == true %}
<div class="col-sm-10">
<div class="checkbox">