= $maxloginfailedtimes){$minute}"; finally update the entire site Just cache."/> = $maxloginfailedtimes){$minute}"; finally update the entire site Just cache.">

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

藏色散人
藏色散人Original
2020-01-08 10:06:432389browse

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)));
}

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!

Statement:
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