       @model("Organization").findById @organization, (err, org) =>
         @email_hash = hexDigest(@email, org.salt)
         next()
+  else
+    next()
 
 
 UserSchema.virtual('recipient').get ->

    b = badge.toJSON()
    b.issued_on = new Date()
    b.badge_id = badge.id
    b.image = badge.image.original.defaultUrl
    b.issued_count = undefined
    @badges.push b
    @save (err, user)->

          # Using dot accessors here so the custom getters are invoked
          name: badge.name
          description: badge.description
          image: badge.imageUrl
          criteria: badge.criteria
          id: badge.id
      }
