Created
November 10, 2016 06:47
-
-
Save nosalvage/69ffbe9dd029c1599691805348f6bbdf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firebase.auth().createUserWithEmailAndPassword(cred.email, cred.password).then(function (result) { | |
fireBaseData.refUser().child(result.uid).set({ | |
telephone: cred.phone, | |
courier: false | |
}); | |
}, function (error) { | |
sharedUtils.showAlert("Ошибка","Ошибка регистрации"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment