Post by dv0l0ty » Thu Nov 16, 2023 9:13 pm

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

Newbie

Posts

Joined
Thu Nov 16, 2023 9:09 pm

Post by imdevlper18 » Wed Dec 13, 2023 2:36 pm

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'])) {

Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com


User avatar
Active Member

Posts

Joined
Sun May 11, 2014 2:04 pm

Post by JNeuhoff » Wed Dec 13, 2023 10:07 pm

Or go to PHPMyAdmin, and remove the adequate entries from the 'oc_customer_login' table.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 10 guests