You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to specify a validation function for the username field (similar to password field)? For instance, if I wanted only emails, is there a way to check that the input is actually an email?
If not, I can write a middleware before it but would prefer the to use a passport local mongoose option if available.
The text was updated successfully, but these errors were encountered:
Is there any way to specify a validation function for the username field (similar to password field)? For instance, if I wanted only emails, is there a way to check that the input is actually an email?
If not, I can write a middleware before it but would prefer the to use a passport local mongoose option if available.
The text was updated successfully, but these errors were encountered: