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?
Passing empty data to email fields returns
@
sign when validation is failed. This happens while chainingnormalizeEmail()
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?