0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

Remember relay password on receive too #177

This commit is contained in:
Maxim Baz 2019-11-19 21:06:12 +01:00
parent e3ba938582
commit 252475f72e
No known key found for this signature in database
GPG key ID: 011FDC52DA839335

View file

@ -334,6 +334,9 @@ func receive(c *cli.Context) (err error) {
if crocOptions.SharedSecret == "" {
crocOptions.SharedSecret = rememberedOptions.SharedSecret
}
if !c.IsSet("pass") {
crocOptions.RelayPassword = rememberedOptions.RelayPassword
}
}
if crocOptions.SharedSecret == "" {