mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 00:45:11 -04:00
Save the HidServAuth string to settings when private key is also saved. Allow to copy it to clipboard from the SettingsDialog too.
This commit is contained in:
parent
bd5ee8b082
commit
08c2e106f8
4 changed files with 56 additions and 7 deletions
|
@ -265,6 +265,9 @@ class ServerStatus(QtWidgets.QVBoxLayout):
|
|||
"""
|
||||
self.save_private_key_button.setEnabled(False)
|
||||
self.settings.set('private_key', self.app.private_key)
|
||||
if self.app.stealth:
|
||||
self.settings.set('hidservauth_string', self.app.auth_string)
|
||||
self.settings.save()
|
||||
self.settings.load()
|
||||
|
||||
self.private_key_saved.emit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue