6 lines
357 B
Twig
Executable File
6 lines
357 B
Twig
Executable File
<span class="login-status">
|
|
{% if grav.user.authenticated %}
|
|
<strong>{{ grav.user.fullname ?: grav.user.username }}</strong>, <a class="logout" href="{{ url(uri.addNonce((uri.path)|trim('/') ~ '/task' ~ config.system.param_sep ~ 'login.logout', 'logout-form', 'logout-nonce'))|e }}">{{ 'PLUGIN_LOGIN.BTN_LOGOUT'|t }}</a>
|
|
{% endif %}
|
|
</span>
|