* code for task #6708.

This commit is contained in:
wangyidong
2019-12-10 13:55:01 +08:00
parent 0c8fd46f7b
commit 6630dd0bb7
40 changed files with 4988 additions and 12 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ class adminModel extends model
/* Check weak password when login. */
if($this->app->moduleName == 'user' and $this->app->methodName == 'login')
{
if(!isset($_POST['passwordStrength']) return true;
if(!isset($_POST['passwordStrength'])) return true;
if(isset($this->config->safe->mode) and $this->post->passwordStrength < $this->config->safe->mode) return true;
}