Removed the realm from the example in the documentation of the init_app method of the DigestAuth class.
This commit is contained in:
parent
d5a8bb3acd
commit
5faf51c49b
@ -336,7 +336,6 @@ class DigestAuth:
|
|||||||
|
|
||||||
app: flask = Flask(__name__)
|
app: flask = Flask(__name__)
|
||||||
auth: DigestAuth = DigestAuth()
|
auth: DigestAuth = DigestAuth()
|
||||||
auth.realm = "My Admin"
|
|
||||||
auth.init_app(app)
|
auth.init_app(app)
|
||||||
|
|
||||||
:param app: The Flask application.
|
:param app: The Flask application.
|
||||||
|
Loading…
Reference in New Issue
Block a user