diff --git a/firebase-auth.html b/firebase-auth.html index 7b89ebc..9952fa0 100644 --- a/firebase-auth.html +++ b/firebase-auth.html @@ -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); }