// This user does not belong to this plugin, skip it
if (user.pluginAuth !== obj.pluginName) return null
// This user does not belong to this plugin, skip it
if (user.pluginAuth !== obj.pluginName) return null
if (CONFIG.SIGNUP.REQUIRES_EMAIL_VERIFICATION && user.emailVerified === false) {
throw new AccessDeniedError('User email is not verified.')
if (CONFIG.SIGNUP.REQUIRES_EMAIL_VERIFICATION && user.emailVerified === false) {
throw new AccessDeniedError('User email is not verified.')