Added support to Login Form

This commit is contained in:
pmoreno.rodriguez 2023-02-06 18:10:52 +01:00
parent 58261d6573
commit 4041c9777d

View file

@ -35,11 +35,17 @@
</section>
{% endif %}
{% if config.plugins.login.enabled %}
<section>
{% if not grav.user.authenticated %}
<ul class="actions stacked">
<li><a href="#" class="button large fit">{{ 'FUTURE.LOGIN'|t }}</a></li>
<li><a href="{{ base_url_absolute }}/login" class="button large fit">{{ 'FUTURE.LOGIN'|t }}</a></li>
</ul>
{% else %}
{% include 'partials/login-status.html.twig' %}
{% endif %}
</section>
{% endif %}
</section>
<script>