Skip to content

Commit

Permalink
Update cookie_password_macos.go
Browse files Browse the repository at this point in the history
  • Loading branch information
lumaxis authored Mar 29, 2023
1 parent e3b2e1c commit 777dcd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/slackclient/cookie_password_macos.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func cookiePassword() ([]byte, error) {

func cookiePasswordFromKeychain(accountName string) ([]byte, error) {
query := keychain.NewItem()
query.SetSecClass(keychain.SecClassGenericPassword)
query.SetService("Slack Safe Storage")
query.SetAccount(accountName)
query.SetMatchLimit(keychain.MatchLimitOne)
Expand Down

0 comments on commit 777dcd0

Please sign in to comment.