Skip to content

Commit

Permalink
fixed some grammar (#945)
Browse files Browse the repository at this point in the history
Co-authored-by: eric <ericgoto0212@gmail.com>
  • Loading branch information
e-goto and eric authored Mar 6, 2024
1 parent 00787ca commit 99b19be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Quickly add security features to your Flask application.

Notes on this repo
------------------
This is a independently maintained version of Flask-Security forked from the 3.0.0
This is an independently maintained version of Flask-Security forked from the 3.0.0
version of the `Original <https://github.com/mattupstate/flask-security>`_

Goals
Expand Down
2 changes: 1 addition & 1 deletion flask_security/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def find_csrf_field_name():

def is_user_authenticated(user: User | None) -> bool:
"""
return True is user is authenticated.
return True if user is authenticated.
With Flask-Login <=0.6.x and Flask-Security <5.4 current_user was always
set - for non-authenticated users it pointed to an AnonymousUser
Expand Down

0 comments on commit 99b19be

Please sign in to comment.