Skip to content

Commit

Permalink
Merge pull request #61 from SteveWooding/fix-google-logout-v2
Browse files Browse the repository at this point in the history
fix: Remove deleting keys from login_session in gdisconnect()
  • Loading branch information
karlud authored Nov 30, 2017
2 parents d57bfd9 + f229f6d commit acd55d0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Lesson4/step2/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,6 @@ def gdisconnect():
h = httplib2.Http()
result = h.request(url, 'GET')[0]
if result['status'] == '200':
del login_session['access_token']
del login_session['gplus_id']
del login_session['username']
del login_session['email']
del login_session['picture']
response = make_response(json.dumps('Successfully disconnected.'), 200)
response.headers['Content-Type'] = 'application/json'
return response
Expand Down

0 comments on commit acd55d0

Please sign in to comment.