Skip to content

Commit

Permalink
Remember relay password on receive too #177
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Nov 19, 2019
1 parent e3ba938 commit 252475f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cli/cli.go
Expand Up @@ -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 == "" {
Expand Down

0 comments on commit 252475f

Please sign in to comment.