mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Update server.py (#16375)
This commit is contained in:
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user