Skip to content

Commit

Permalink
Merge pull request #59 from ajit-kumar-azad/master
Browse files Browse the repository at this point in the history
user object was not passed as part of the user-created event object
  • Loading branch information
ebidel committed Jan 20, 2016
2 parents a0f4b99 + 48bf61f commit cf566a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firebase-auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@
* @param {string} password
*/
createUser: function(email, password) {
this.ref.createUser({email: email, password: password}, function(error) {
this.ref.createUser({email: email, password: password}, function(error, user) {
if (!error) {
this.fire('user-created');
this.fire('user-created', {user: user});
} else {
this.fire('error', error);
}
Expand Down

0 comments on commit cf566a4

Please sign in to comment.