Skip to content

Commit

Permalink
Update github.py
Browse files Browse the repository at this point in the history
There is no error_reason
  • Loading branch information
kkamkou authored and lepture committed Mar 18, 2015
1 parent 32e799b commit 78979c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def authorized():
resp = github.authorized_response()
if resp is None:
return 'Access denied: reason=%s error=%s' % (
request.args['error_reason'],
request.args['error'],
request.args['error_description']
)
session['github_token'] = (resp['access_token'], '')
Expand Down

0 comments on commit 78979c6

Please sign in to comment.