Remove unnecessary site savings

This commit is contained in:
ZeroNet 2016-08-10 12:35:17 +02:00
parent 0d565dc64d
commit 2852bbc657
1 changed files with 0 additions and 2 deletions

View File

@ -60,12 +60,10 @@ class Site(object):
if not self.settings.get("auth_key"): # To auth user in site (Obsolete, will be removed)
self.settings["auth_key"] = CryptHash.random()
self.log.debug("New auth key: %s" % self.settings["auth_key"])
self.saveSettings()
if not self.settings.get("wrapper_key"): # To auth websocket permissions
self.settings["wrapper_key"] = CryptHash.random()
self.log.debug("New wrapper key: %s" % self.settings["wrapper_key"])
self.saveSettings()
self.websockets = [] # Active site websocket connections