Just released: The new loggedIn() function has been released for the wix-members frontend module. loggedIn() checks whether the current site visitor is a logged-in member. It returns true if they’re logged in, false if they’re not. No promise, just a boolean. It’s a really convenient way to check before running a function that relies on the current session belonging to a member.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Authentication.loggedIn() return false in Preview mode. Why? | 1 | 90 | September 19, 2022 | |
Check if logged in | 2 | 1661 | March 2, 2022 | |
onLogin() | 3 | 601 | September 21, 2020 | |
Simple "Logged-in" Verification? | 2 | 182 | February 8, 2022 | |
How to get user loggedin information? | 1 | 85 | November 12, 2022 |