diff --git a/src/Core/Users/User.php b/src/Core/Users/User.php index db1ed8e54..a92e28ad5 100755 --- a/src/Core/Users/User.php +++ b/src/Core/Users/User.php @@ -150,7 +150,7 @@ class User extends Model { $user = new static; - $this->assertValidPassword($password); + $user->assertValidPassword($password); $user->username = $username; $user->email = $email;