Jump to content

Back office logging out


omc142

Recommended Posts

The default settings are 15 minutes, so the login is automatically terminated after 15 minutes of inactivity in the PrestaShop 1.7.
 
This time can be easily adjusted in the following folder: 
classes / controller / AdminController .php
 
Look for line 2288, where the following code is to be found: 
if ($this->context->cookie->last_activity + 900 < time()) {
 
Changing 900 to 3600 increases the log-in period from 15 to 60 minutes.
Edited by vinea (see edit history)
  • Like 5
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...