Created
March 7, 2017 15:28
-
-
Save leoneparise/7c6fa86430f2a520d4b92316cdc04676 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
body: { | |
email: Joi.string().email().required(), | |
password: Joi.string().regex(/[a-zA-Z0-9]{3,30}/).required() | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment