Jump to content

How can I get the currently logged in user when logged in using $session->login()?


Recommended Posts

I'm trying to identify if a user has logged in through our PW login. It's using $session->login. When including /pw/index.php and checking $user, it shows only a guest account after I have logged in. My project is in a higher directory than our PW instance. Is that why it's not showing a user being logged in? Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...