Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Reshape info hash for V1 backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
brittanydmiller committed Oct 20, 2021
1 parent d88c8c9 commit aed79e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/omniauth/strategies/slack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ class Slack < OmniAuth::Strategies::OAuth2
#
info do
{
name: access_token.user_name
name: access_token.user_name,
email: access_token['user'].to_h['email']
}
.merge access_token.to_hash
end
Expand Down

0 comments on commit aed79e1

Please sign in to comment.