title: Sequelize: password cannot be an array or an object
body: <p>Why do I get this error : password cannot be an array or an object, when I try to add a new user, if my password is of type String, I hash it, and I store it, but I still get this error, which doesn't make much sense: <code>SequelizeValidationError: string violation: password cannot be an array or an object</code></p>
  
  <pre><code>                // Hash password with bcrypt
                  const hashedPassword = passwordController.hashPassword(password, 10);
  
                  // Create new User
                  await User.create({
                      first_name: firstName,
                      last_name: lastName,
                      username: username,
                      email: email,
                      password: hashedPassword,
                      date_joined: new Date(),
                      role_id: role
                  }).then(user =&gt; {
                      // Success
                      return done(null, user, req.flash('message', 'Successfully added user'));
                  }).catch(err =&gt; {
                      console.log(err);
                      return done(null, false);
                  });
  </code></pre>