mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Merge branch 'integration' into memory_api
This commit is contained in:
		| @@ -899,17 +899,17 @@ class ProtoService { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   bool check_authenticated_() { |   bool check_authenticated_() { | ||||||
|  | #ifdef USE_API_PASSWORD | ||||||
|     if (!this->check_connection_setup_()) { |     if (!this->check_connection_setup_()) { | ||||||
|       return false; |       return false; | ||||||
|     } |     } | ||||||
| #ifdef USE_API_PASSWORD |  | ||||||
|     if (!this->is_authenticated()) { |     if (!this->is_authenticated()) { | ||||||
|       this->on_unauthenticated_access(); |       this->on_unauthenticated_access(); | ||||||
|       return false; |       return false; | ||||||
|     } |     } | ||||||
|     return true; |     return true; | ||||||
| #else | #else | ||||||
|     return true; |     return this->check_connection_setup_(); | ||||||
| #endif | #endif | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user