Created
November 18, 2017 20:38
-
-
Save drFabio/fc7b6911de8ee293596d77f5f8d27503 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var authenticated = false | |
var userAuthData = null | |
function handleAuthentication (authData) { | |
document.getElementById('accessContainer').style.display= 'none' | |
document.getElementById('questionsContainer').style.display= 'block' | |
authenticated = true | |
userAuthData = authData | |
document.getElementById('userName').innerHTML = authData.user.displayName | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#questionsContainer { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment