forked from wallabag/wallabag
Add option to disable registration
This commit is contained in:
committed by
Jeremy Benoist
parent
79efca1e6f
commit
de3d716ae4
@ -33,7 +33,9 @@
|
||||
</div>
|
||||
<div class="card-action center">
|
||||
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
|
||||
<a href="{{ path('fos_user_registration_register') }}" class="waves-effect waves-light grey btn">{{ 'security.login.register'|trans }}</a>
|
||||
{% if registration_enabled %}
|
||||
<a href="{{ path('fos_user_registration_register') }}" class="waves-effect waves-light grey btn">{{ 'security.login.register'|trans }}</a>
|
||||
{% endif %}
|
||||
<button class="btn waves-effect waves-light" type="submit" name="send">
|
||||
{{ 'security.login.submit'|trans }}
|
||||
<i class="material-icons right">send</i>
|
||||
|
||||
Reference in New Issue
Block a user