Skip to content

Commit

Permalink
Fix #17 - Problem with email verification on User Models
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles committed Oct 3, 2015
1 parent aaa7f89 commit 706f71b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/models/User.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ module.exports = {
},

email:{
type:'string',
email:true,
type:'email',
required:true,
unique:true
},
Expand Down

0 comments on commit 706f71b

Please sign in to comment.