This commit is contained in:
Tomasz Duda 2024-08-07 19:59:02 +02:00
parent 05f9c8ab65
commit 64b5387960

View file

@ -105,8 +105,8 @@ class WebServerBase : public Component {
std::shared_ptr<AsyncWebServer> get_server() const { return server_; }
float get_setup_priority() const override;
void set_auth_username(std::string &&auth_username) { credentials_.username = std::move(auth_username); }
void set_auth_password(std::string &&auth_password) { credentials_.password = std::move(auth_password); }
void set_auth_username(std::string auth_username) { credentials_.username = std::move(auth_username); }
void set_auth_password(std::string auth_password) { credentials_.password = std::move(auth_password); }
void add_handler(AsyncWebHandler *handler);