From 4ef7c3b48ea6a9c07f5f66554e7dd0c814bf6bcc Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Thu, 30 Apr 2015 17:34:09 +0200 Subject: [PATCH] Disallow external users in PrincipalField by default --- chat/indico_chat/plugin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chat/indico_chat/plugin.py b/chat/indico_chat/plugin.py index df07ef1..95b4c79 100644 --- a/chat/indico_chat/plugin.py +++ b/chat/indico_chat/plugin.py @@ -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"))