Work on documentation

This commit is contained in:
Andrew Svetlov committed 2015-11-02 22:28:10 +02:00
1 parent a0f73c85eb
commit d4c6dc8ff5
3 files changed
+57 -1

No files matched your search

+2
View File
@@ -28,6 +28,8 @@ def remember(request, response, identity, **kwargs):
@asyncio.coroutine
def forget(request, response):
"""Forget previously remembered identity."""
identity_policy = request.app.get(IDENTITY_KEY)
if identity_policy is None:
text = ("Security subsystem is not initialized, "