Properly sets installationId on creating session with 3rd party auth

This commit is contained in:
Florent Vilmart
2016-03-20 10:50:34 -04:00
parent 24f0fffb41
commit 3603b82eac
4 changed files with 21 additions and 23 deletions

View File

@@ -331,7 +331,7 @@ RestWrite.prototype.transformUser = function() {
'authProvider': this.storage['authProvider'] || 'password'
},
restricted: false,
installationId: this.data.installationId,
installationId: this.auth.installationId,
expiresAt: Parse._encode(expiresAt)
};
if (this.response && this.response.response) {