Open armellarcier opened 9 years ago
In api\models\User.js I changed type: 'string'
to type: 'email'
and removed email: true
from attributes.email. Like this
email: {
type: 'email',
unique: true,
required: true
},
Was having the same issue after Heroku automatically rolled an update from v0.11.0 to v0.11.2. This worked for me. Thanks @marmite22!
The dropping of {email: true} support should probably be mentioned somewhere. (If it already was, I apologize, I missed it.)
@marmite22 it work for me. but how can i find this change in http://sailsjs.org or somewhere
Sign-up seems broken. Any email address gets rejected by validator.
Checked with multiple e-mails. Works if I remove validation constraint (email: true) in model attribute obj.