differentiate signup and login createdWith.action on _Session

This commit is contained in:
Florent Vilmart
2016-03-20 13:44:51 -04:00
parent 3603b82eac
commit a31baa4ebd
2 changed files with 30 additions and 2 deletions

View File

@@ -327,7 +327,7 @@ RestWrite.prototype.transformUser = function() {
objectId: this.objectId()
},
createdWith: {
'action': 'login',
'action': 'signup',
'authProvider': this.storage['authProvider'] || 'password'
},
restricted: false,