diff --git a/index.html b/index.html index 429f11a..f3428ef 100644 --- a/index.html +++ b/index.html @@ -1428,8 +1428,11 @@ window.signOut = async function() { if (!confirm('Sign out?')) return; teardown(); await fbSignOut(auth); + _initializingUser = false; currentUser = null; currentUserData = null; currentProfileData = null; currentStepsData = null; friendsData = {}; friendProfiles = {}; friendSteps = {}; + const btn = document.getElementById('google-signin-btn'); + if (btn) { btn.disabled = false; btn.innerHTML = ` Sign in with Google`; } showScreen('auth'); showAuthForm(); }