This PR fixes a couple minor errors. The first one is it always attempts to login/unlock even if the BW_SESSION env var is set. Secondly, the Salt env var is not used/read as it is documented to be, so that was fixed. I also ran go mod tidy with go1.22 just for kicks, and was able to compile successfully the ./cmd/portwarden program, which is all that I care about (and what these fixes were intended for).
This PR fixes a couple minor errors. The first one is it always attempts to login/unlock even if the BW_SESSION env var is set. Secondly, the Salt env var is not used/read as it is documented to be, so that was fixed. I also ran go mod tidy with go1.22 just for kicks, and was able to compile successfully the ./cmd/portwarden program, which is all that I care about (and what these fixes were intended for).