Forum Academy Marketplace Showcase Pricing Features

How to Check if Current User isn't logged in


My question is this: Is it possible to check if a user isn’t logged in, and if so, send that person to the login/signup page? Right now, it’s set to where if a user isn’t logged in they have full access to the site. Some of my pages require the user to be logged in to view information specific to that user.


  • Alec

Hey there,

Yep! You can do this by using Workflows. Here is a screenshot for reference:

Notice how in the Workflow statement, I used the “and when” conditional modifier. This means that the Workflow will only run when the conditional statement is true. In other words, this Workflow will only run when the user isn’t logged in. If the user is logged in, this Workflow will be ignored.

Thank you! I spent a lot of time trying to figure this out and just couldn’t get it.

1 Like

No problem, happy that I could help! :slight_smile:

Feel free to ask if you have any other questions!

1 Like