diff --git a/module/admin/model.php b/module/admin/model.php index 2f0294656f..e097e06407 100644 --- a/module/admin/model.php +++ b/module/admin/model.php @@ -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; } diff --git a/module/product/view/view.html.php b/module/product/view/view.html.php index 6ab4bda422..bdc45eec1f 100644 --- a/module/product/view/view.html.php +++ b/module/product/view/view.html.php @@ -25,8 +25,8 @@