+
+
+
@@ -228,6 +234,18 @@
Hello, Friend!
});
}
+function handleGitHubSignIn() {
+ const provider = new firebase.auth.GithubAuthProvider();
+ auth.signInWithPopup(provider)
+ .then((result) => {
+ console.log(result);
+ })
+ .catch((error) => {
+ console.error(error);
+ });
+}
+
+
document.querySelectorAll('.toggle-password').forEach(item => {
item.addEventListener('click', function() {