Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #3 from Geal/patch-1

Don't display authorized if the user refused the OAuthorization
  • Loading branch information...
commit 41580121eda69e57f58d261c3cec67a657c19f30 2 parents c8886a5 + 78f6e4c
@michielbdejong michielbdejong authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/tutorial.js
View
2  js/tutorial.js
@@ -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);

0 comments on commit 4158012

Please sign in to comment.
Something went wrong with that request. Please try again.