* finish task #6623.

This commit is contained in:
wangyidong
2019-12-09 14:29:43 +08:00
parent 1d0ce812f7
commit 8d0f8521ba
4 changed files with 14 additions and 4 deletions
+1
View File
@@ -239,6 +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($this->config->safe->mode) and $this->post->passwordStrength < $this->config->safe->mode) return true;
}