Help Search

How to increase auto logout time?

By default passbolt uses the PHP session duration setting to define when the auto logout should kick in. If the default session timeout is too short for you and your user you can extend it in the PHP configuration.

See the directive session.gc-maxlifetime

In order to change this number you must locate your php.ini file. Its location depends on your operating system and php versions.

For example on Debian or Ubuntu if you are using Nginx and PHP 7.4 it will be in /etc/php/7.4/fpm/php.ini but the easy way to find it is to execute this command:

$ grep -lr session.gc_maxlifetime /etc/ | grep fpm

Once located replace the 1440 timout value in seconds with for example 2700 for 45 minutes:

; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 2700

Not finding what you are looking for? You can also ask the community on the forum.

Talk to a human
🍪   Do you accept cookies for statistical purposes? (Read more) Accept No thanks!