Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember relay password on receive too #177 #179

Merged
merged 2 commits into from Nov 19, 2019

Conversation

maximbaz
Copy link
Contributor

No description provided.

src/cli/cli.go Outdated
@@ -334,6 +334,9 @@ func receive(c *cli.Context) (err error) {
if crocOptions.SharedSecret == "" {
crocOptions.SharedSecret = rememberedOptions.SharedSecret
}
if !c.IsSet("pass") {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm only not sure what's the difference to GlobalIsSet, I saw you used a regular IsSet for the send command, that's why I did the same

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @maximbaz. I made a mistake! Both of them should be GlobalIsSet. You can update your PR or I can just do it :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated 👍

@schollz
Copy link
Owner

schollz commented Nov 19, 2019

Thanks! Really appreciate that you caught my mistakes :)

@schollz schollz merged commit 3d672d6 into schollz:master Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants