diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-07-02 14:35:52 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-08-23 07:40:36 +0200 |
commit | de3d716ae4e8ca98dabdcb2ec9c18219e05856f7 (patch) | |
tree | dc1198b88d23b81130026057ddebb1d687c643e6 /src/Wallabag/UserBundle/Resources | |
parent | 79efca1e6ff28362d4bd2713f68205294cdd07de (diff) | |
download | wallabag-de3d716ae4e8ca98dabdcb2ec9c18219e05856f7.tar.gz wallabag-de3d716ae4e8ca98dabdcb2ec9c18219e05856f7.tar.zst wallabag-de3d716ae4e8ca98dabdcb2ec9c18219e05856f7.zip |
Add option to disable registration
Diffstat (limited to 'src/Wallabag/UserBundle/Resources')
-rw-r--r-- | src/Wallabag/UserBundle/Resources/views/Security/login.html.twig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Wallabag/UserBundle/Resources/views/Security/login.html.twig b/src/Wallabag/UserBundle/Resources/views/Security/login.html.twig index 8474b497..13a903ab 100644 --- a/src/Wallabag/UserBundle/Resources/views/Security/login.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/Security/login.html.twig | |||
@@ -33,7 +33,9 @@ | |||
33 | </div> | 33 | </div> |
34 | <div class="card-action center"> | 34 | <div class="card-action center"> |
35 | <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" /> | 35 | <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" /> |
36 | <a href="{{ path('fos_user_registration_register') }}" class="waves-effect waves-light grey btn">{{ 'security.login.register'|trans }}</a> | 36 | {% if registration_enabled %} |
37 | <a href="{{ path('fos_user_registration_register') }}" class="waves-effect waves-light grey btn">{{ 'security.login.register'|trans }}</a> | ||
38 | {% endif %} | ||
37 | <button class="btn waves-effect waves-light" type="submit" name="send"> | 39 | <button class="btn waves-effect waves-light" type="submit" name="send"> |
38 | {{ 'security.login.submit'|trans }} | 40 | {{ 'security.login.submit'|trans }} |
39 | <i class="material-icons right">send</i> | 41 | <i class="material-icons right">send</i> |