mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +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);
|
||||
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.displayName != null) {
|
||||
document.getElementById('status').innerHTML = "You are signed in as: " + user.displayName;
|
||||
|
Loading…
Reference in New Issue
Block a user