Answer the question
In order to leave comments, you need to log in
SailsJs: email form validator not passing valid email, why?
email: {
type: 'string',
email: true,
required: true,
unique: true
}
{
"error": "E_VALIDATION",
"status": 400,
"summary": "1 attribute is invalid",
"model": "User",
"invalidAttributes": {
"userEmail": [
{
"rule": "email",
"message": "\"email\" validation rule failed for input: '[email protected]'"
}
]
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question