Solved

How to extend lockout attempts in wordpress

Posted on 2016-08-01
3
65 Views
Last Modified: 2016-08-02
During installation of WP V 4.5.3 and the twentysixteen theme I did choose to limit the login attempts but now i'd like to be able to unlock users an/or extend attempts.

I have found forums that say you run this query on the database - wp_options SET option_value = '' WHERE option_name = 'limit_login_lockouts' LIMIT 1;

However my tablet prefix is WPYO and although I rrun the query and it executed nothing happened as the account is still locked out for 12 minutes.

I have scrolled through the table PHPMyAdmin and can not find suck a reference or to 'limit_login_lockouts' that I also see discussed on forums

I am not by any means experienced in SQL but the site is backup up, nothing to lose and sometimes breaking things is a good learning process in a test environment of course!
0
Comment
Question by:IM&T SRFT
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
Branislav Borojevic earned 500 total points
ID: 41737885
UPDATE wp_options SET option_value = '' WHERE option_name = 'limit_login_lockouts' LIMIT 1;

Open in new window


This will simply clear all lockouts in your WordPress installation.

From what I can assume from your problem, you want to be able to modify the restriction periods and lockout length.

Check this link, it might help you get your results: http://www.wpbeginner.com/plugins/how-and-why-you-should-limit-login-attempts-in-your-wordpress/
0
 

Author Closing Comment

by:IM&T SRFT
ID: 41739136
Thank you again Branislav for your help on this
0
 
LVL 4

Expert Comment

by:Branislav Borojevic
ID: 41739141
You are most welcome!
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
This article discusses four methods for overlaying images in a container on a web page
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question