Page 1 of 1

1 hour login timeout

Posted: Thu Nov 16, 2023 9:13 pm
by dv0l0ty
Seriously, the 1 hour login timeout is overkill. I had to create a new account to buy a modification so I can work on my website. I put in wrong password like 3x and got locked out for an hour. I aint gonna sit doing nothing for 1 hour seriously. Change it to 10 min or force send an email with link for more attempts for login.

Thanks O0

Re: 1 hour login timeout

Posted: Wed Dec 13, 2023 2:36 pm
by imdevlper18
It depends from store to store. You can change for yourself via this file:

admin/controller/common/login.php

Line no: 96

Code: Select all

if ($login_info && ($login_info['total'] >= $this->config->get('config_login_attempts')) && strtotime('-1 hour') < strtotime($login_info['date_modified'])) {
Change to:

Code: Select all

if ($login_info && ($login_info['total'] >= $this->config->get('config_login_attempts')) && strtotime('-10 minutes') < strtotime($login_info['date_modified'])) {

Re: 1 hour login timeout

Posted: Wed Dec 13, 2023 10:07 pm
by JNeuhoff
Or go to PHPMyAdmin, and remove the adequate entries from the 'oc_customer_login' table.