Sign in/Sign out Navigation Button

0
I am new to Mendix and was wondering if there is a way to have one button on the navigation menu that would change from "sign in" to "sign out" and vice versa?
asked
1 answers
1

Hi Michael,

You can do this by controlling the permissions for the pages that you are displaying.

For a sign in button, you can show a page with a navigation bar that has a sign in button, and set that page to only be shown to anonymous users. For a sign out button, you can do the same but set the permissions to only allow users (this would be all other module roles a user has) to navigate too.

answered