Home > CMS Tutorial > PHPCMS > What to do if there are too many wrong passwords in phpcms

What to do if there are too many wrong passwords in phpcms

藏色散人
Release: 2020-01-08 10:06:43
Original
2393 people have browsed it

What to do if there are too many wrong passwords in phpcms

What should I do if there are too many incorrect passwords for phpcms?

PHPCMS V9 "Too many password retries, please log in again after -xxx minutes!" Solution

Solution:

Find the file \phpcms\modules\admin\index.php

Comment out the following code:

if($rtime['times'] >= $maxloginfailedtimes) {
  $minute = 60-floor((SYS_TIME-$rtime['logintime'])/60);
  showmessage(L('wait_1_hour',array('minute'=>$minute)));
}
Copy after login

Note, there are 4 lines in total.

Then log in to the backend again and update the site-wide cache.

PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!

The above is the detailed content of What to do if there are too many wrong passwords in phpcms. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template