diff --git a/framework/core/src/Core/Models/User.php b/framework/core/src/Core/Models/User.php index fc80c87ab..e29ea5fb5 100755 --- a/framework/core/src/Core/Models/User.php +++ b/framework/core/src/Core/Models/User.php @@ -174,7 +174,7 @@ class User extends Model */ public function setPasswordAttribute($value) { - $this->attributes['password'] = $value ? static::$hasher->make($value) : null; + $this->attributes['password'] = $value ? static::$hasher->make($value) : ''; } /**