mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 21:30:16 +02:00
set relay password when remembering #177
This commit is contained in:
parent
e84e89b786
commit
e3ba938582
1 changed files with 3 additions and 0 deletions
|
@ -171,6 +171,9 @@ func send(c *cli.Context) (err error) {
|
||||||
if !c.IsSet("code") {
|
if !c.IsSet("code") {
|
||||||
crocOptions.SharedSecret = rememberedOptions.SharedSecret
|
crocOptions.SharedSecret = rememberedOptions.SharedSecret
|
||||||
}
|
}
|
||||||
|
if !c.IsSet("pass") {
|
||||||
|
crocOptions.RelayPassword = rememberedOptions.RelayPassword
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var fnames []string
|
var fnames []string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue