Disallow external users in PrincipalField by default

This commit is contained in:
Adrian Moennich 2015-04-30 17:34:09 +02:00
parent df31bb35c2
commit 4ef7c3b48e

View File

@ -44,8 +44,7 @@ from indico_chat.views import WPChatEventMgmt
class SettingsForm(IndicoForm):
admins = PrincipalField(_('Administrators'), allow_external=False,
description=_('Users who can manage chatrooms for all events'))
admins = PrincipalField(_('Administrators'), description=_('Users who can manage chatrooms for all events'))
server = StringField(_('XMPP server'), [DataRequired()], description=_('The hostname of the XMPP server'))
muc_server = StringField(_('XMPP MUC server'), [DataRequired()],
description=_("The hostname of the XMPP MUC server"))