Rev914, Disable siteDelete in Multiuser mode

This commit is contained in:
HelloZeroNet 2016-03-02 01:11:32 +01:00
parent 5b59da2435
commit 36d3268cf7
2 changed files with 4 additions and 1 deletions

View file

@ -171,6 +171,9 @@ class UiWebsocketPlugin(object):
self.actionUserLoginForm(0)
# Disable not Multiuser safe functions
def actionSiteDelete(self, to, *args, **kwargs):
self.cmd("notification", ["info", "This function is disabled on this proxy"])
def actionConfigSet(self, to, *args, **kwargs):
self.cmd("notification", ["info", "This function is disabled on this proxy"])