diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-08-24 11:13:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-24 11:13:00 +0200 |
commit | a1ab7d1d32cb69af563fcec4395fce5217f154f7 (patch) | |
tree | ffc13a611a862cce7d74bf6d349bbb2468f33049 /src/Wallabag/UserBundle/Resources | |
parent | 1bee9e0760c89756ebab0b67f9ab7efc5c6a709b (diff) | |
parent | 8541b3c4fdf35788129483060499fef50818222c (diff) | |
download | wallabag-a1ab7d1d32cb69af563fcec4395fce5217f154f7.tar.gz wallabag-a1ab7d1d32cb69af563fcec4395fce5217f154f7.tar.zst wallabag-a1ab7d1d32cb69af563fcec4395fce5217f154f7.zip |
Merge pull request #2186 from wallabag/addRegistration
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> |