1. Benoit Chesneau
  2. django-authopenid

Commits

bchesneau  committed 6cdf009

[svn r29] fix issue #5. thanks to reporter.

  • Participants
  • Parent commits d9f96de
  • Branches trunk

Comments (0)

Files changed (1)

File views.py

View file
 
     url : /signout/"
     """
-    del request.session['openid']
+    try:
+        del request.session['openid']
+    except KeyError:
+        pass
     next = request.GET.get('next', '/')
     if not is_valid_next_url(next):
         next = '/'