From b0306325f8a4910f396d70cfdbdddb29029a249a Mon Sep 17 00:00:00 2001 From: Bijayee Saswata Pradhan Date: Wed, 30 Oct 2019 12:19:59 +0530 Subject: [PATCH 1/3] Update try.html No angular required --- try.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/try.html b/try.html index 3fdab68..09e7531 100644 --- a/try.html +++ b/try.html @@ -8,7 +8,7 @@ - From a15d08470ce447b47b35e5713664360601781324 Mon Sep 17 00:00:00 2001 From: Bijayee Saswata Pradhan Date: Wed, 30 Oct 2019 12:24:54 +0530 Subject: [PATCH 2/3] Update login.js --- js/login.js | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) 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); // ... }); From f14d98c54706d85151d4aea4f71685619ba16fb3 Mon Sep 17 00:00:00 2001 From: Bijayee Saswata Pradhan Date: Wed, 30 Oct 2019 12:27:20 +0530 Subject: [PATCH 3/3] Update 404.html --- 404.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.