From 9b9b848fddfff311231bd872581c69f8656f41b9 Mon Sep 17 00:00:00 2001 From: Phil Elson Date: Thu, 1 Feb 2018 08:50:58 +0000 Subject: [PATCH] Two trivial typos. (#129) --- aiohttp_security/api.py | 2 +- docs/reference.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aiohttp_security/api.py b/aiohttp_security/api.py index 0dea731..d414459 100644 --- a/aiohttp_security/api.py +++ b/aiohttp_security/api.py @@ -13,7 +13,7 @@ async def remember(request, response, identity, **kwargs): The action is performed by identity_policy.remember() - Usually the idenity is stored in user cookies homehow but may be + Usually the identity is stored in user cookies somehow but may be pushed into custom header also. """ assert isinstance(identity, str), identity diff --git a/docs/reference.rst b/docs/reference.rst index afd1d12..788e372 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -21,7 +21,7 @@ Public API functions The action is performed by registered :meth:`AbstractIdentityPolicy.remember`. - Usually the *idenity* is stored in user cookies homehow for using by + Usually the *identity* is stored in user cookies somehow for using by :func:`authorized_userid` and :func:`permits`. :param request: :class:`aiohttp.web.Request` object.