From 6a898cae4fd956a90c585c704fa99b1bda342c1f Mon Sep 17 00:00:00 2001 From: Adam Leskis Date: Tue, 3 Aug 2021 01:18:10 +0100 Subject: [PATCH] fix simple typos (#103) --- flask_seasurf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flask_seasurf.py b/flask_seasurf.py index 962414e..f453652 100755 --- a/flask_seasurf.py +++ b/flask_seasurf.py @@ -78,7 +78,7 @@ class SeaSurf(object): this extension is to generate and validate CSRF tokens. The design and implementation of this extension is influenced by Django's CSRF middleware. - Tokens are generated using a salted SHA1 hash. The salt is based off a + Tokens are generated using a salted SHA1 hash. The salt is based off a random range. The OS's SystemRandom is used if available, otherwise the core random.randrange is used. @@ -180,7 +180,7 @@ def exempt_urls(self, urls): def include(self, view): ''' - A decorator that can be used to include a view from CSRF validation. + A decorator that can be used to include a view in CSRF validation. Example usage of :class:`include` might look something like this::