mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[muc subdomain] forbid admin to add a muc subdomain (reserved to xmpp)
This commit is contained in:
parent
4432d28c09
commit
1fb42bb8af
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ def domain_add(operation_logger, domain, dyndns=False):
|
|||
if domain.startswith("xmpp-upload."):
|
||||
raise YunohostError("domain_cannot_add_xmpp_upload")
|
||||
|
||||
if domain.startswith("muc."):
|
||||
raise YunohostError("domain_cannot_add_muc_upload")
|
||||
|
||||
ldap = _get_ldap_interface()
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue