mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Update server.py (#16375)
This commit is contained in:
committed by
Fabian Affolter
parent
78fcea25bb
commit
4685a2cd97
@@ -85,6 +85,10 @@ def generate_config(hass, passwd, password):
|
|||||||
'allow-anonymous': password is None
|
'allow-anonymous': password is None
|
||||||
},
|
},
|
||||||
'plugins': ['auth_anonymous'],
|
'plugins': ['auth_anonymous'],
|
||||||
|
'topic-check': {
|
||||||
|
'enabled': True,
|
||||||
|
'plugins': ['topic_taboo'],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
if password:
|
if password:
|
||||||
|
Reference in New Issue
Block a user