mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
Merge pull request #104 from rockaBe/gravatar
stores lowercase email for gravatar
This commit is contained in:
commit
678f6d90d5
@ -3,7 +3,7 @@ var bcrypt = require('bcrypt-nodejs');
|
||||
var crypto = require('crypto');
|
||||
|
||||
var userSchema = new mongoose.Schema({
|
||||
email: { type: String, unique: true },
|
||||
email: { type: String, unique: true, lowercase: true },
|
||||
password: String,
|
||||
|
||||
facebook: String,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user