Skip to main content

How to configure the CookieLifetime?

By changing this value, you can configure after how much time any user will forcefully get logged out from a browser session.

Since you most likely don't want to log into Nextcloud on your devices again every half an hour, it is recommended to change it to a higher value.

  1. Run over CLI:
    sudo bash /var/scripts/menu.sh
  2. Choose Nextcloud Configuration -> CookieLifetime
  3. Select 259200s 3 days (3 days are recommended and should be enough)

Now your users should no longer get logged out in browsers after half an hour.