From 64b538796053bc78e71bd51950ef975257c84f91 Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Wed, 7 Aug 2024 19:59:02 +0200 Subject: [PATCH] rollback --- esphome/components/web_server_base/web_server_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/web_server_base/web_server_base.h b/esphome/components/web_server_base/web_server_base.h index e5b72a8ec9..6077580200 100644 --- a/esphome/components/web_server_base/web_server_base.h +++ b/esphome/components/web_server_base/web_server_base.h @@ -105,8 +105,8 @@ class WebServerBase : public Component { std::shared_ptr 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);