From: Jeremy Benoist Date: Wed, 12 Aug 2015 11:23:52 +0000 (+0200) Subject: Merge pull request #1323 from wallabag/v2-1302-checkbox X-Git-Tag: 2.0.0-alpha.0~43 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=a8596c35c8db3c7e560f5af4fb0b6259f2241b50;hp=6622cf996830a037081dba8fa8b2793ffd998bc3;p=github%2Fwallabag%2Fwallabag.git Merge pull request #1323 from wallabag/v2-1302-checkbox fix #1302: add 'stay connected' checkbox --- diff --git a/app/config/security.yml b/app/config/security.yml index 2163389b..b9c4cbef 100644 --- a/app/config/security.yml +++ b/app/config/security.yml @@ -37,9 +37,9 @@ security: post_only: true - always_use_default_target_path: true + always_use_default_target_path: false default_target_path: / - target_path_parameter: redirect_url + target_path_parameter: _target_path use_referer: true failure_path: null diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/forgotPassword.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/forgotPassword.html.twig index 7d7fea6f..9750f8ba 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/forgotPassword.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/forgotPassword.html.twig @@ -43,6 +43,9 @@ {{ form_rest(form) }} +
+ {% trans %}Back to login{% endtrans %} +