Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Commit

Permalink
Don't display authorized if the user refused the OAuthorization
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed May 15, 2012
1 parent c8886a5 commit 78f6e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/tutorial.js
Expand Up @@ -46,7 +46,7 @@ var tutorial = (function() {
if(event.origin == location.protocol +'//'+ location.host) {
console.log('Received an OAuth token: ' + event.data);
localStorage.setItem('bearerToken', event.data);
helper.setAuthorizedState(true);
helper.setAuthorizedState(helper.isAuthorized());
}
}, false);

Expand Down

0 comments on commit 78f6e4c

Please sign in to comment.