Skip to content

Commit

Permalink
fix simple typos (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpmi-13 committed Aug 3, 2021
1 parent ac71b13 commit 6a898ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask_seasurf.py
Expand Up @@ -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.
Expand Down Expand Up @@ -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::
Expand Down

0 comments on commit 6a898ca

Please sign in to comment.