-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add basic auth filter new #2241
base: main
Are you sure you want to change the base?
Conversation
+1 I would also prefer to add at least basic authentication. |
2e2858a
to
7179026
Compare
@@ -57,7 +57,6 @@ build_flags = | |||
${flags:runtime.build_flags} | |||
; ### Sofware options : (can be set in defines.h) | |||
-D ENABLE_MQTT | |||
-D ENABLE_INFLUXDB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this needed?
@@ -157,8 +180,8 @@ int LoadWlanFromFile(std::string fn) | |||
#endif | |||
} | |||
|
|||
/* read next line */ | |||
if (fgets(zw, sizeof(zw), pFile) == NULL) { | |||
if (fgets(zw, 1024, pFile) == NULL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not sizeof(zw)
- sounds better for me....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Especially with char zw[256];
above
… not updating the value is a good idea as well
Just rebased this again to update to the current rolling version.
This is just a kind heads up to let people know there is some option to run ai on the edge with basic authentification. You may close this pr without comment.
Btw: Running this now for several month without issues.