Skip to content

'@' while validating empty email fields #1

Description

@msrumon

Passing empty data to email fields returns @ sign when validation is failed. This happens while chaining normalizeEmail() with the validation rules. Since express-validator uses validator library under the hood, it may be coming from that library. But why would the library put '@' sign for empty email fields?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomersquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions