diff --git a/404.html b/404.html index 829eda8..78da507 100644 --- a/404.html +++ b/404.html @@ -27,7 +27,7 @@

404

Page Not Found

The specified file was not found on this website. Please check the URL for mistakes and try again.

Why am I seeing this?

-

This page was generated by the Firebase Command-Line Interface. To modify it, edit the 404.html file in your project's configured public directory.

+

This is a system generated file.

diff --git a/js/login.js b/js/login.js index f411288..66342b8 100644 --- a/js/login.js +++ b/js/login.js @@ -18,16 +18,7 @@ firebase.auth().onAuthStateChanged(function(user) $("#sec2").hide(); -// firebase.database().ref('/users/').orderByChild('uid').equalTo(userUID) -// -// var userId = firebase.auth().currentUser.uid; -//return firebase.database().ref('/users/' + userId).once('value').then(function(snapshot) { -// var username = (snapshot.val() && snapshot.val().Name) || 'Anonymous'; -// // ... -//}); - - $("#sec2").removeClass("col-md-3").addClass("col-md-0"); $("#sec1").removeClass("col-md-9").addClass("col-md-12"); $("#loutBtn").show(); @@ -39,12 +30,7 @@ firebase.auth().onAuthStateChanged(function(user) } -// firebase.auth().signOut().then(function() { -// console.log('Signed Out'); -// }, function(error) { -// console.error('Sign Out Error', error); -// }); - + } else { @@ -93,9 +79,8 @@ function funcUp(){ firebase.auth().createUserWithEmailAndPassword(eMail, passWord).catch(function(error) { // Handle Errors here. - var errorCode = error.code; - var errorMessage = error.message; - window.alert("Error : - "+errorMessage); + + window.alert("Error : - "+error.message); // ... }); diff --git a/try.html b/try.html index 3fdab68..09e7531 100644 --- a/try.html +++ b/try.html @@ -8,7 +8,7 @@ -