code: function resendVerifySignup(emailOrToken, notifierOptions) {
        debug('resendVerifySignup', emailOrToken);
  
        return Promise.resolve().then(function () {
          if (typeof emailOrToken === 'string') {
            // backwards compatibility
            emailOrToken = { email: emailOrToken };
          }
  
          ensureObjPropsValid(emailOrToken, ['email', 'verifyToken', 'verifyShortToken']);
  
          return emailOrToken;
        }).then(function (query) {
          return Promise.all([users.find({ query: query }).then(function (data) {
            return getUserData(data, ['isNotVerified']);
          }), getLongToken(options.longTokenLen), getShortToken(options.shortTokenLen, options.shortTokenDigits)]);
        }).then(function (_ref) {
          var _ref2 = _slicedToArray(_ref, 3),
              user = _ref2[0],
              longToken = _ref2[1],
              shortToken = _ref2[2];
  
          return patchUser(user, {
            isVerified: false,
            verifyExpires: Date.now() + options.delay,
            verifyToken: longToken,
            verifyShortToken: shortToken
          });
        }).then(function (user) {
          return userNotifier('resendVerifySignup', user, notifierOptions);
        }).then(function (user) {
          return sanitizeUserForClient(user);
        });
      }
docs: email, {email}, {verifyToken}, {verifyShortToken}, {email, verifyToken, verifyShortToken}