X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FConfig%2Findex.html.twig;fp=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FConfig%2Findex.html.twig;h=93f8ddf8ace6fd319e8031e13389e92283a5c883;hb=a0c5eb003f1cbeef10d5620e98870c7556e17c75;hp=cf4394081b867875bacdd35027903bd1d61a8bc8;hpb=4c0e747940ac39630f1d2a6a14c628ba6729ecfd;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig index cf439408..93f8ddf8 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig @@ -168,48 +168,41 @@ + {{ form_widget(form.user.save) }} + {% if twofactor_auth %} +
{{ 'config.form_user.two_factor.table_method'|trans }} | +{{ 'config.form_user.two_factor.table_state'|trans }} | +{{ 'config.form_user.two_factor.table_action'|trans }} | +
---|---|---|
{{ 'config.form_user.two_factor.emailTwoFactor_label'|trans }} | +{% if app.user.isEmailTwoFactor %}{{ 'config.form_user.two_factor.state_enabled'|trans }}{% else %}{{ 'config.form_user.two_factor.state_disabled'|trans }}{% endif %} | +{{ 'config.form_user.two_factor.action_email'|trans }} | +
{{ 'config.form_user.two_factor.googleTwoFactor_label'|trans }} | +{% if app.user.isGoogleTwoFactor %}{{ 'config.form_user.two_factor.state_enabled'|trans }}{% else %}{{ 'config.form_user.two_factor.state_disabled'|trans }}{% endif %} | +{{ 'config.form_user.two_factor.action_app'|trans }} | +