Has anyone else noticed that {% if config.plugins.login.enabled and grav.user.username %} has stopped working? I’ve tried using {{dump(grav.user)}} and looking at the debugger but even though I’m logged in it shows:
In my case it was a difference between login in the admin and login in the frontend…
I closed the issue as it is working now as expected, you have to login to site frontend to use the grav.user.username variable.