omc142 Posted November 13, 2017 Share Posted November 13, 2017 Hi y'all! =) Is there any way to avoid logging off BO? It keeps logging out while I'm working. I'm not even inactive to expire time to log out... Please help. P.S: ANd yes, I put the tick on "keep me logged in" Thanks, Cumps Link to comment Share on other sites More sharing options...
vinea Posted November 13, 2017 Share Posted November 13, 2017 (edited) Source: https://www.prestashop.com/forums/topic/308913-admin-login-timeout/ 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 November 13, 2017 by vinea (see edit history) 5 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now