8000 Merge commit '6be808ce30f04eb49ec1afb8cfa6fcf910f748ae' into HEAD · sengbh/quickstart-js@635bdcb · GitHub
[go: up one dir, main page]

Skip to content

Commit 635bdcb

Browse files
author
devrel-build
committed
Merge commit '6be808ce30f04eb49ec1afb8cfa6fcf910f748ae' into HEAD
2 parents a1a97e0 + 6be808c commit 635bdcb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

database/scripts/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ function onAuthStateChanged(user) {
353353
writeUserData(user.uid, user.displayName, user.email, user.photoURL);
354354
startDatabaseQueries();
355355
} else {
356+
// Set currentUID to null.
357+
currentUID = null;
356358
// Display the splash page where you can sign-in.
357359
splashPage.style.display = '';
358360
}

0 commit comments

Comments
 (0)
0