message: hashPassword fall-through if there's no password
  * hashPassword fall-through if there's no password
  The user should have already run a `requireAuth` hook by this point.
  * JSHint
diff: -import errors from 'feathers-errors';
  import bcrypt from 'bcryptjs';
  -
  const defaults = { passwordField: 'password' };
  export default function (options = {}) {
  @@ -34,13 +32,9 @@ export default function (options = {}) {
  }
  if (password === undefined) {
  - if (!hook.params.provider) {
  return hook;
  }
  - throw new errors.BadRequest(`'${options.passwordField}' field is missing.`);
  - }
  -
  return new Promise(function (resolve, reject) {
  const hash = function(item, password, salt) {
  crypto.hash(password, salt, function (error, hash) {
  