File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Resources/templates/CommonAdmin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4242 {% if action is defined and action .credentials and action .credentials is not same as (' AdmingenAllowed' ) %}
4343 $this->denyAccessUnlessValidateCredentials('{{ action .credentials }}');
4444 {% endif %}
45- {% elseif credentials is defined and credentials is not same as (' AdmingenAllowed' ) %}
45+ {% elseif credentials is defined and credentials is not empty and credentials is not same as (' AdmingenAllowed' ) %}
4646 $this->denyAccessUnlessValidateCredentials('{{ credentials }}');
4747 {% endif %}
4848{% endblock %}
5252 {% if action is defined and action .credentials and action .credentials is not same as (' AdmingenAllowed' ) %}
5353 $this->denyAccessUnlessValidateCredentials('{{ action .credentials }}', ${{ builder .ModelClass }});
5454 {% endif %}
55- {% elseif credentials and credentials is not same as (' AdmingenAllowed' ) %}
55+ {% elseif credentials is defined and credentials is not empty and credentials is not same as (' AdmingenAllowed' ) %}
5656 $this->denyAccessUnlessValidateCredentials('{{ credentials }}', ${{ builder .ModelClass }});
5757 {% endif %}
5858{% endblock %}
You can’t perform that action at this time.
0 commit comments