mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-26 17:49:09 +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