Removed the realm from the example in the documentation of the init_app method of the DigestAuth class.

This commit is contained in:
依瑪貓 2023-01-07 15:03:37 +08:00
parent d5a8bb3acd
commit 5faf51c49b

View File

@ -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.