Skip to content

Commit 7b98589

Browse files
"Updating samples to reflect recent changes."
1 parent 19f9977 commit 7b98589

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function checkAuth() {
2929

3030
// Handle the result of a gapi.auth.authorize() call.
3131
function handleAuthResult(authResult) {
32-
if (authResult) {
32+
if (authResult && !authResult.error) {
3333
// Authorization was successful. Hide authorization prompts and show
3434
// content that should be visible after authorization succeeds.
3535
$('.pre-auth').hide();

0 commit comments

Comments
 (0)