This repository was archived by the owner on Jan 27, 2023. It is now read-only.
Commit 5fb9a1b
committed
Fix bugs in
* A default profile would not be created correctly if a workspace was given but a profile was
not passed to `Client.login`. Always providing a profile name fixes that.
* If neither a workspace or profile name were given and a profile could not be loaded, an
unhelpful auth error would be raised. Instead, explicitly raise that a profile could not
be loaded (by always providing a profile name to `Profile#load`) so that downstream libs
(ActiveStash) can handle this scenario properly.CipherStash::Client.login
1 parent 83bb5d0 commit 5fb9a1b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
0 commit comments