irlnathan / activityoverlord20

This is an update to activityOverlord.
158 stars 52 forks source link

changed email options from "true" to "{}" #12

Closed udoklein closed 6 years ago

udoklein commented 9 years ago

In Sails 0.11.0 the options will be passed to validator.js. However validator expectes and object, not "true". Thus the original code was breaking at the email validation. The suggested solution will make validator to use the email default options instead.