WebMail Pro documentation

How to log user out due to inactivity

By default, user session in WebMail Pro doesn't expire.

If you wish to reconfigure the product so that users are logged out after a certain amount of time due to inactivity, that's done by modifying data/settings/modules/SessionTimeoutWebclient.config.json file:

{
    "Disabled": [
        true,
        "bool",
        null,
        "Setting to true disables the module"
    ],
    "TimeoutMinutes": [
        30,
        "int",
        null,
        "Time interval of inactivity the users are logged after"
    ],
    "IncludeInMobile": [
        true,
        "bool",
        null,
        "If true, the module is used in mobile version of the interface"
    ]
}

Set Disabled to false and specify timeout value in TimeoutMinutes as amount of minutes.