Store pass for db saving
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
ycc 2023-01-11 22:29:31 +01:00
parent ce758c5bb1
commit 0f8bdf5f66

View File

@ -155,6 +155,7 @@ func (id *Identity) TryUnlockHidden(password string) error {
if err != nil { if err != nil {
return err return err
} }
p.dbPassword = password
id.unlockedHiddenPeers = append(id.unlockedHiddenPeers, p) id.unlockedHiddenPeers = append(id.unlockedHiddenPeers, p)
found = true found = true
} }