Skip to content
Snippets Groups Projects
Commit 49ae11bc authored by Lucas Gabriel Lima's avatar Lucas Gabriel Lima
Browse files

update user model

parent 2edc680e
No related branches found
No related tags found
1 merge request!20Auth
Pipeline #
......@@ -5,7 +5,8 @@ var bcrypt = require('bcrypt');
var UserSchema = new Schema({
email:{
type: String,
required: true
required: true,
unique: true
},
password: {
type: String,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment