]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix form user display when 2FA is disabled
authorNicolas LÅ“uillet <nicolas@loeuillet.org>
Wed, 18 May 2016 13:02:00 +0000 (15:02 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 17 Aug 2016 09:41:46 +0000 (11:41 +0200)
src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig

index 5a90f2273ad2a5d2b952bca863ef3c2de786c246..afd5b499a0da00377c29e023c9d31eb7c10e4046 100644 (file)
                             {% endif %}
 
                             {{ form_widget(form.user.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
-                            {{ form_rest(form.user) }}
+                            {{ form_widget(form.user._token) }}
                         </form>
                     </div>