TZM / tzm-blade

ZMGC Application empowers members with on-line tools, by providing a free infrastructure to easily exchange, analyse and disseminate information in a scalable, non-blocking manner using only Open Source software build by the community for the community. It is about building lasting and deep solidarity versus cheap and fast Facebook or Twitter campaigns
www.zmgc.net
GNU General Public License v3.0
4 stars 8 forks source link

Database error: ValidationError: Validator "required" failed for path password with value `undefined`, Validator "required" failed for path email with value `undefined` #32

Open nkhine opened 11 years ago

nkhine commented 11 years ago

Login using Google, then update name from Account Settings... page and not enter password, you get this error:

Database error: ValidationError: Validator "required" failed for path password with value `undefined`, Validator "required" failed for path email with value `undefined`

looking at the mongodb, the email is not set:

> db.users.find()
{ "_id" : ObjectId("51db03e6290b76d5aa1f55bd"), "active" : true, "name" : "Norman", "provider" : "google", "surname" : "Khine", "uid" : "https://www.google.com/accounts/o8/id?id=AItOawn0DOqw3peSGCyRZwHde983Kk0OGEWIrXM" }
{ "_id" : ObjectId("51db0402290b76d5aa1f55be"), "active" : true, "name" : "Norman", "provider" : "google", "surname" : "Khine", "uid" : "https://www.google.com/accounts/o8/id?id=AItOawlUaqAKQWAF2Rw-MQ4WvSMwFLAEqPUxm1c" }
{ "_id" : ObjectId("51db0458290b76d5aa1f55bf"), "active" : true, "name" : "Yevgeny", "provider" : "yahoo", "surname" : "Zamyatin", "uid" : "https://me.yahoo.com/a/2ctJIVJxvJYXHVbFaewLAoGyOpw-#da52c" }