Commits

Alexis Metaireau committed 4361ca6

fix logout view

  • Participants
  • Parent commits 4438a0b

Comments (0)

Files changed (1)

File oauthclient/views.py

         'request_token', 'request_token_secret'):
         if identifier + '_' + key in request.session:
             del request.session[identifier + '_' + key]
-            
+    request.session.save()
     if settings.REDIRECT_AFTER_LOGOUT == None:
         return render_to_response(settings.LOGOUT_TEMPLATE)
     return redirect(settings.REDIRECT_AFTER_LOGOUT)