Skip to content

Commit c98c336

Browse files
author
michaelyaakoby
authored
Merge pull request #10 from SolarEdgeTech/sba-basic-auth-spelling
Spelling, when using basic-authentication need to use BasicAuth(...)
2 parents a09aa78 + 71f0094 commit c98c336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ myFastAPIServer = Server(
255255
Pyctuator supports registration with Spring Boot Admin that requires basic authentications. The credentials are provided when initializing the Pyctuator instance as follows:
256256
```python
257257
# NOTE: Never include secrets in your code !!!
258-
auth = Auth(os.getenv("sba-username"), os.getenv("sba-password"))
258+
auth = BasicAuth(os.getenv("sba-username"), os.getenv("sba-password"))
259259

260260
Pyctuator(
261261
app,

0 commit comments

Comments
 (0)