Closed newmedicine closed 4 years ago
In login-status.html.twig, missing / at beginning of href for logout link (at position HERE):
login-status.html.twig
{% if grav.user.authenticated %} <strong>{{ grav.user.fullname ?: grav.user.username }}</strong>, <a class="logout" href="HERE{{ uri.addNonce((base_url_relative ~ uri.path)|trim('/') ~ '/task' ~ config.system.param_sep ~ 'login.logout', 'logout-form', 'logout-nonce')|e }}">{{ 'PLUGIN_LOGIN.BTN_LOGOUT'|t }}</a> {% endif %} </span>```
Should need this as base_url_relative takes that into account
base_url_relative
In
login-status.html.twig
, missing / at beginning of href for logout link (at position HERE):