Skip to content

Commit

Permalink
Fixed minor typo (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
reggiev committed May 22, 2021
1 parent 311f0bd commit 14fb9d5
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 queried 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 function 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 14fb9d5

Please sign in to comment.