Skip to content

Commit

Permalink
Merge pull request #2 from hiroq/master
Browse files Browse the repository at this point in the history
nickname refers to login instead of mail
  • Loading branch information
suer committed Nov 29, 2014
2 parents 1068ce1 + 208063a commit 16b7726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/redmine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def consumer

info do
{
'nickname' => raw_info['user']['mail'],
'nickname' => raw_info['user']['login'],
'email' => raw_info['user']['mail'],
'name' => "#{raw_info['user']['lastname']} #{raw_info['user']['firstname']}"
}
Expand Down

0 comments on commit 16b7726

Please sign in to comment.