Log out on idle time



is there a way to auto log out if there is idle time of more than 5 minutes?

Thanks in advance


In your config/config.php:

         * The lifetime of a session after inactivity; the default is 24 hours,
         * expressed in seconds.
        'session_lifetime' => 60 * 60 * 24,


i have no clue in php.
what should i write for 5 minutes?

‘session_lifetime’ => 60 * 5 , ??? does it makes sense?


Yes. The time is in seconds, you can carry out the calculation yourself and use 300 instead.


i did it, doesnt work for me, any other things i have to do?
i copied the line from the sample file to config file.


Doesn’t work for me too.


You should file a bug report on https://github.com/nextcloud/server/issues If you create a new issue, there is a template to gather all important information.