Skip to content

Commit

Permalink
Merge pull request #589 from FabienArcellier/fix/mistake-in-auth-docu…
Browse files Browse the repository at this point in the history
…mentation

docs: small mistake into authentication documentation
  • Loading branch information
FabienArcellier authored Oct 14, 2024
2 parents 5b6b6df + 370353b commit 5380bb3
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 5380bb3

Please sign in to comment.