Commit 7d3363954e0e02b61bd5acefde5f561b0b865f21

Authored by Jeroen van Baarsen
1 parent 1fc42d99

Always ask for email with github omniauth

Fixes: #2061

Fix was proposed on twitter by: neic0, in the following tweet:
https://twitter.com/neic0/status/423138339806392320
Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
config/gitlab.yml.example
@@ -154,7 +154,8 @@ production: &base @@ -154,7 +154,8 @@ production: &base
154 # - { name: 'twitter', app_id: 'YOUR APP ID', 154 # - { name: 'twitter', app_id: 'YOUR APP ID',
155 # app_secret: 'YOUR APP SECRET'} 155 # app_secret: 'YOUR APP SECRET'}
156 # - { name: 'github', app_id: 'YOUR APP ID', 156 # - { name: 'github', app_id: 'YOUR APP ID',
157 - # app_secret: 'YOUR APP SECRET' } 157 + # app_secret: 'YOUR APP SECRET',
  158 + # args: { scope: 'user:email' } }
158 159
159 160
160 161