Work on documentation

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

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, "