Disconnecting accounts after a certain period of time

Hello, I would like my users to be automatically disconnected from their sessions after a certain time, is this possible?

Take a look at session_lifetime and some of the other settings here.

https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/config_sample_php_parameters.html#user-experience

Thanks ! I added these parameters in the ./config/config.php I will look tomorrow if it disconnects me well my session!