mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-12 22:26:18 +00:00
ok this should fix
This commit is contained in:
parent
f0c0d646b5
commit
807c66dd3a
@ -25,9 +25,10 @@ window.onload = function() {
|
|||||||
};
|
};
|
||||||
firebase.initializeApp(config);
|
firebase.initializeApp(config);
|
||||||
user = firebase.auth().currentUser
|
user = firebase.auth().currentUser
|
||||||
resolve(user)
|
resolve(null)
|
||||||
});
|
});
|
||||||
promise1.then(function(user) {
|
promise1.then(function(a) {
|
||||||
|
user=firebase.auth().currentUser
|
||||||
if (user != null) {
|
if (user != null) {
|
||||||
if (user.displayName != null) {
|
if (user.displayName != null) {
|
||||||
document.getElementById('status').innerHTML = "You are signed in as: " + user.displayName;
|
document.getElementById('status').innerHTML = "You are signed in as: " + user.displayName;
|
||||||
|
Loading…
Reference in New Issue
Block a user