From 6b312397127a3fc5649bac120b116b3e68d53080 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 22 Feb 2015 21:44:38 -0500 Subject: [PATCH] Resolves #42 --- firebase-login.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firebase-login.html b/firebase-login.html index cff2265..4c06161 100644 --- a/firebase-login.html +++ b/firebase-login.html @@ -294,9 +294,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, userData) { if (!error) { - this.fire('user-created'); + this.fire('user-created', userData); } else { this.fire('error', error); }