Move private_key, hidservauth_string, and password from "persistent" mode settings to "onion" mode settings; and make it so the onion settings are always saved in each tab, even if the tab is not persistent, so if you stop and start a service in the same tab it has the same onion address and password

This commit is contained in:
Micah Lee 2019-12-08 10:13:56 -08:00
parent 19e378dff4
commit 76d109747e
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
6 changed files with 45 additions and 40 deletions

View file

@ -64,7 +64,7 @@ class OnionThread(QtCore.QThread):
if not self.mode.settings.get("general", "public"):
if not self.mode.web.password:
self.mode.web.generate_password(
self.mode.settings.get("persistent", "password")
self.mode.settings.get("onion", "password")
)
try: