mirror of
https://github.com/esphome/esphome.git
synced 2025-09-26 23:22:21 +01:00
Make API ConnectRequest optional for passwordless connections (#9445)
This commit is contained in:
@@ -219,8 +219,6 @@ void APIServer::dump_config() {
|
||||
}
|
||||
|
||||
#ifdef USE_API_PASSWORD
|
||||
bool APIServer::uses_password() const { return !this->password_.empty(); }
|
||||
|
||||
bool APIServer::check_password(const std::string &password) const {
|
||||
// depend only on input password length
|
||||
const char *a = this->password_.c_str();
|
||||
|
Reference in New Issue
Block a user