From 2e67a534cf810a4734f26ae599ed2e01924f1215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Fortin?= Date: Wed, 24 Jul 2019 09:30:02 -0400 Subject: [PATCH] Update flask hub authentication services example in doc The flask example in the documentation was still using the input argument `cookie_cache_max_age` when instantiating `HubAuth` object. `cookie_cache_max_age` is deprecated since JupyterHub 0.8 and should be replaced by `cache_max_age`. --- docs/source/reference/services.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/reference/services.md b/docs/source/reference/services.md index 24de3bdd..7686d4a4 100644 --- a/docs/source/reference/services.md +++ b/docs/source/reference/services.md @@ -249,7 +249,7 @@ prefix = os.environ.get('JUPYTERHUB_SERVICE_PREFIX', '/') auth = HubAuth( api_token=os.environ['JUPYTERHUB_API_TOKEN'], - cookie_cache_max_age=60, + cache_max_age=60, ) app = Flask(__name__)