diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-01-11 18:09:55 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-01-11 18:09:55 +0100 |
commit | b361e2e5d5bdb6cc6256d50f8292c910fc4d3de0 (patch) | |
tree | 250098c63c3f5442a738beec206ff3776683ea3e /app/class/user.php | |
parent | c5a9c71a1fbade72f35b5d39c5f71380436e96ce (diff) | |
download | wcms-b361e2e5d5bdb6cc6256d50f8292c910fc4d3de0.tar.gz wcms-b361e2e5d5bdb6cc6256d50f8292c910fc4d3de0.zip |
user hash fix update
Diffstat (limited to 'app/class/user.php')
-rw-r--r-- | app/class/user.php | 2 |
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; } |