aboutsummaryrefslogtreecommitdiff
path: root/app/class/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/user.php')
-rw-r--r--app/class/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/user.php b/app/class/user.php
index 2627d3d..9bfc071 100644
--- a/app/class/user.php
+++ b/app/class/user.php
@@ -82,7 +82,7 @@ class User
public function setpassword(string $password)
{
- if (is_string($password)) {
+ if (is_string($password) && !empty($password)) {
$this->password = $password;
}