fix
This commit is contained in:
@ -22,7 +22,7 @@ function checkAuth() {
|
||||
console.error("Get id token client error: ", error)
|
||||
});
|
||||
} catch {
|
||||
console.error("checkAuth error: ")
|
||||
console.error("checkAuth error: ");
|
||||
}
|
||||
|
||||
// document.getElementById("loginbutton").style.display = "none";
|
||||
@ -31,8 +31,7 @@ function checkAuth() {
|
||||
// document.getElementById("loginbutton").style.display = "block";
|
||||
console.log("Check Auth error", user)
|
||||
}
|
||||
})
|
||||
var user = firebase.auth().currentUser;
|
||||
});
|
||||
}
|
||||
window.onload = function () {
|
||||
checkAuth();
|
||||
|
Reference in New Issue
Block a user