Auth in views via view.render


#21

Did you visited the /404 page directly?

Yes.


#22

So it’s obvious that there is no logged in user.

Just go through the routes file and you can see that session is created in the root route. So you need to visit that first


#23

I am logged in. I am sure about that.


#24

How you can be logged in, when you are straightly visiting the /404 page?

The session is created by the / route


#25

I go to the home page to log in, and then when I go to 404-page in the url, I get the errror.

I am logged in.