Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Don't display authorized if the user refused the OAuthorization #3

Merged
merged 1 commit into from

2 participants

@Geal

No description provided.

@michielbdejong
Collaborator

does this work? cool!
/me merging and pulling

@michielbdejong michielbdejong merged commit 4158012 into 5apps:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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);
Something went wrong with that request. Please try again.