PLT-6882 Disable /invite_people when account creation is set to false (#6709)

* PLT-6882 Disable /invite_people when account creation is set to false

* Disable /invite_people when account creation or email notifications are set to false
Этот коммит содержится в:
AJ Moon
2017-06-29 07:42:33 -07:00
коммит произвёл Harrison Healey
родитель 648f333850
Коммит 84d5f314a0
2 изменённых файлов: 13 добавлений и 1 удалений

Просмотреть файл

@@ -451,6 +451,10 @@
"id": "api.command.invite_people.email_off",
"translation": "Email has not been configured, no invite(s) sent"
},
{
"id": "api.command.invite_people.invite_off",
"translation": "User creation has been disabled on this server, no invite(s) sent"
},
{
"id": "api.command.invite_people.fail",
"translation": "Encountered an error sending email invite(s)"