Keep logged in checkbox

Keep logged in checkbox

  

Hi Everyone,


I want to create a checkbox on the login screen for a mobile app to keep the user logged in. But I am lost. Where to start? Which variable do I need to select at the checkbox for example?

Hi Niels,

In a Mobile App by default you will have Persistent Login (where basically the user is logged in until he/she explicitly logs out), this is implemented in the DoLogin server action that is usually part of any Mobile template.

You can read more on how to disable it (and achieve Session Login, where as soon as the app closes you will need to go through login again) on the documentation, just make sure you pass the appropriate value on the RememberLogin input parameter of the User_Login server action.