Skip to content

Commit

Permalink
Fixes typo (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoliveira committed Dec 22, 2020
1 parent ab6938c commit 9b4659e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The following example application uses HTTP Basic authentication to protect rout
if __name__ == '__main__':
app.run()

The function decorated with the ``verify_password`` decorator receives the username and password sent by the client. If the credentials belong to a user, then the function should return the user object. If the credentials are invalid the functon can return ``None`` or ``False``. The user object can then be queries from the ``current_user()`` method of the authentication instance.
The function decorated with the ``verify_password`` decorator receives the username and password sent by the client. If the credentials belong to a user, then the function should return the user object. If the credentials are invalid the functon can return ``None`` or ``False``. The user object can then be queried from the ``current_user()`` method of the authentication instance.

Digest authentication example
-----------------------------
Expand Down

0 comments on commit 9b4659e

Please sign in to comment.