Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

Commit e13b018

Browse files
authored
Merge pull request #24 from cipherstash/fix-login-bugs
Fix bugs in `CipherStash::Client.login`
2 parents 83bb5d0 + 5fb9a1b commit e13b018

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/cipherstash/client/profile.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def self.create(name, logger, **opts)
128128

129129
def self.login(workspace:, profile_name:, logger:)
130130
is_initial_login = !workspace.nil?
131-
profile_name = resolve_profile_name(profile_name)
131+
profile_name = resolve_profile_name(profile_name) || "default"
132132

133133
if is_initial_login
134134
create(profile_name, logger, workspace: workspace)

0 commit comments

Comments
 (0)