We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19f9977 commit 7b98589Copy full SHA for 7b98589
1 file changed
javascript/auth.js
@@ -29,7 +29,7 @@ function checkAuth() {
29
30
// Handle the result of a gapi.auth.authorize() call.
31
function handleAuthResult(authResult) {
32
- if (authResult) {
+ if (authResult && !authResult.error) {
33
// Authorization was successful. Hide authorization prompts and show
34
// content that should be visible after authorization succeeds.
35
$('.pre-auth').hide();
0 commit comments