Skip to content

Commit

Permalink
Remove unused g import in token authentication example (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasps committed Oct 23, 2021
1 parent dc6de2d commit 7e5f9cf
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 @@ -108,7 +108,7 @@ Token Authentication Example

The following example application uses a custom HTTP authentication scheme to protect route ``'/'`` with a token::

from flask import Flask, g
from flask import Flask
from flask_httpauth import HTTPTokenAuth

app = Flask(__name__)
Expand Down

0 comments on commit 7e5f9cf

Please sign in to comment.