From 4692b3e26ee5f36027152d53033f89ff55e276b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E8=BE=B0=E8=BD=A9?= Date: Wed, 16 Nov 2022 16:31:03 +0800 Subject: [PATCH] * Don not check password strength. --- api/v1/entries/user.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v1/entries/user.php b/api/v1/entries/user.php index 773bf66c44..87782cf8c3 100644 --- a/api/v1/entries/user.php +++ b/api/v1/entries/user.php @@ -412,6 +412,7 @@ class userEntry extends entry { $this->setPost('password1', md5($password)); $this->setPost('password2', md5($password)); + $this->setPost('passwordStrength', 2); } $this->setPost('verifyPassword', md5($this->app->user->password . $this->app->session->rand));