OAuth GitHub uses email username
Created by: uda
I changed lib/gitlab/oauth/user.rb and now I get github usernames correctly
def username
email.match(/^[^@]*/)[0]
end
became
def username
auth.info.nickname || email.match(/^[^@]*/)[0]
end
please fix it in the repo.