Twig config improvements (#5923)
* deprecate direct kimai_config access, which was only used internally * prevent access to system configs * prevent access to most configs in sandbox environments
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
{% block unlock_form %}
|
||||
{% if kimai_config.loginFormActive %}
|
||||
{% if config('loginFormActive') %}
|
||||
<form action="{{ path('tabler_login_check'|tabler_route) }}" method="post" autocomplete="off" class="login-box-body security-login">
|
||||
<input type="hidden" name="_remember_me" value="on">
|
||||
<input type="hidden" name="_username" value="{{ app.user.userIdentifier }}">
|
||||
|
||||
Reference in New Issue
Block a user