Update server.py (#16375)
This commit is contained in:
parent
78fcea25bb
commit
4685a2cd97
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue