Check if user is logged in #529
Unanswered
MatejaSrejic
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Please note that using one of these methods will sign in the user, so you can't check if a user is signed in with this (because you just signed them in 😅 ) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Noob here, I'm wondering how can we check if a user is logged in?
I found this section on the docs, but it seems to throw an error.
The error I'm getting is
Parse error: syntax error, unexpected ')' in D:\PHP\auth\__\login\index.php on line 8
The code:
Beta Was this translation helpful? Give feedback.
All reactions