Merge pull request #679 from ParsePlatform/fosco.empty-authData

Fix for #413 - support empty authData on signup
This commit is contained in:
Drew
2016-02-26 11:17:25 -08:00
2 changed files with 12 additions and 2 deletions

View File

@@ -176,7 +176,7 @@ RestWrite.prototype.validateAuthData = function() {
}
}
if (!this.data.authData) {
if (!this.data.authData || !Object.keys(this.data.authData).length) {
return;
}