Hey,
i’am building a login area. I’am using the standard login plugin.
But my problem is, if i’am not logged in, there should be a link like “login” and if i’am logged in, there should be a link like “logout”.
I;ve added this snippet:
{% if config.plugins.login.enabled and grav.user.username %}
{% endif %}
and it shows me a logout link, but when i click it, it gives me this error:
“Forbidden You don’t have permission to access on this server.”
Also:
I added the page “register”. But If i’am clicking on it, a white Page is showing without a registerformular.
Anny suggestions?
Thanks!