Log in duration

Hi,
Is there a way I can keep a user logged in for a week and after that require them to log in again?

There are two settings

c::set(‘panel.session.timeout’, 9000);
c::set(‘panel.session.lifetime’, 9000);

http://k2.getkirby.com/docs/cheatsheet/options/panel-session-timeout

1 Like

Thanks! and is 9000 the number of second or minutes?

It’s minutes.

1 Like

Please note that the session implementation in Kirby 2 is not 100 % optimal, so you might see logouts even before the configured time has passed.

Reliable long login durations are now a first-class feature in Kirby 3. :slight_smile:

1 Like