From 252475f72eb72404fb7b19e2d62dfe23cf217e04 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Tue, 19 Nov 2019 21:06:12 +0100 Subject: [PATCH] Remember relay password on receive too #177 --- src/cli/cli.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cli/cli.go b/src/cli/cli.go index ec0c0f4..72c31f5 100644 --- a/src/cli/cli.go +++ b/src/cli/cli.go @@ -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 == "" {