Slight fix

This commit is contained in:
James Brooks
2015-01-09 19:58:00 +00:00
parent dd7ed5bf22
commit d0d812e4d3

View File

@@ -46,7 +46,7 @@
<div class="form-group">
<label class="checkbox-inline">
<input type="hidden" name="google2fa" value="0" />
<input type='checkbox' name="google2fa" value="1" {{ !empty(Auth::user()->google_2fa_secret) ? "checked" : "" }} />
<input type='checkbox' name="google2fa" value="1" {{ Auth::user()->hasEnabled2FA ? "checked" : "" }} />
{{ trans('forms.setup.enable_google2fa') }}
</label>
</div>