[api] Add missing USE_API_PASSWORD guards to reduce flash usage (#9899)

This commit is contained in:
J. Nick Koston
2025-07-26 01:21:09 -05:00
committed by GitHub
parent 11f970edec
commit da491f7090
3 changed files with 10 additions and 0 deletions
+2
View File
@@ -228,7 +228,9 @@ class APIConnection : public APIServerConnection {
}
uint8_t get_log_subscription_level() const { return this->flags_.log_subscription; }
void on_fatal_error() override;
#ifdef USE_API_PASSWORD
void on_unauthenticated_access() override;
#endif
void on_no_setup_connection() override;
ProtoWriteBuffer create_buffer(uint32_t reserve_size) override {
// FIXME: ensure no recursive writes can happen