Fix form user display when 2FA is disabled

This commit is contained in:
Nicolas Lœuillet 2016-05-18 15:02:00 +02:00 committed by Jeremy Benoist
parent 2e16a90339
commit 8f5e220327

View file

@ -158,7 +158,7 @@
{% endif %} {% endif %}
{{ form_widget(form.user.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} {{ form_widget(form.user.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
{{ form_rest(form.user) }} {{ form_widget(form.user._token) }}
</form> </form>
</div> </div>