Forum Academy Marketplace Showcase Pricing Features

How to log a user out after number of days

How to log a user out after number of days and redirect them to another page?

Thanks…

It’d be more helpful if you can elaborate the purpose of this but I can think of a solution.

Make two fields in User with type Date. Using “Do when” condition in workflows when a User logs in capture that current time as (ex) “Last Login”. Then calculate + 5 days from “Last Login” to make “5 day” Date field.

Then another “Do when” when Current User’s “Last Login” = “5 day” and User is logged in ->>> Log user out

3 Likes