From 370353bf183975cd19982f5a4b635d2247668ce5 Mon Sep 17 00:00:00 2001 From: Fabien Arcellier Date: Mon, 14 Oct 2024 07:03:49 +0200 Subject: [PATCH] docs: fix mistake into authentication documentation --- docs/framework/authentication.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework/authentication.mdx b/docs/framework/authentication.mdx index f7f6d4062..472684535 100644 --- a/docs/framework/authentication.mdx +++ b/docs/framework/authentication.mdx @@ -27,8 +27,8 @@ import writer.serve import writer.auth auth = writer.auth.BasicAuth( - login=os.get('LOGIN'), - password=os.get('PASSWORD'), + login=os.getenv('LOGIN'), + password=os.getenv('PASSWORD'), ) writer.serve.register_auth(auth)