Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix simple typos #103

Merged
merged 1 commit into from Aug 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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