mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Revert 4d529b7585.
Turns out, that was a terrible idea. Putting privilegedactions in actions/ meant that we tried to interpret it during startup (along with other similarly silly bugs). The fastest way to fix this issue is to merely revert it.
This commit is contained in:
1 parent
0296a1a99c
commit
3a30660c25
4 files changed
+8
-8
No files matched your search
@@ -4,7 +4,7 @@ from modules.auth import require
|
||||
from plugin_mount import PagePlugin, FormPlugin
|
||||
import cfg
|
||||
from forms import Form
|
||||
from actions.privilegedactions import privilegedaction_run
|
||||
from privilegedactions import privilegedaction_run
|
||||
from util import Message
|
||||
|
||||
class xmpp(PagePlugin):
|
||||
@@ -46,7 +46,7 @@ class xmpp(PagePlugin):
|
||||
action="/services/xmpp",
|
||||
name="configure_xmpp",
|
||||
message='')
|
||||
form.checkbox(_("Allow In-Band Registration"), name="xmpp_inband_enable",
|
||||
form.checkbox(_("Allow In-Band Registration"), name="xmpp_inband_enable",
|
||||
id="xmpp_inband_enable", checked=checkedinfo['inband_enable'])
|
||||
form.hidden(name="submitted", value="True")
|
||||
form.html(_("<p>When enabled, anyone who can reach this server will be allowed to register an account through an XMPP client.</p>"))
|
||||
|
||||
Reference in new issue
Block a user