Skip to content

Commit

Permalink
Merge pull request #40 from weehaa/patch-1
Browse files Browse the repository at this point in the history
Key error 'credentials' bug fix in gdisconnect()
  • Loading branch information
karlud authored Nov 2, 2017
2 parents 20f42e7 + b5d19d3 commit 402a6a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lesson4/step2/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def disconnect():
if login_session['provider'] == 'google':
gdisconnect()
del login_session['gplus_id']
del login_session['credentials']
del login_session['access_token']
if login_session['provider'] == 'facebook':
fbdisconnect()
del login_session['facebook_id']
Expand Down

0 comments on commit 402a6a6

Please sign in to comment.