Skip to content

Commit

Permalink
docs: fix mistake into authentication documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienArcellier committed Oct 14, 2024
1 parent 5b6b6df commit 370353b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/framework/authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 370353b

Please sign in to comment.