Commit 1f4cab76988a05c831fea326ad590a146c7961e6
1 parent
ffcb442d
Exists in
master
and in
1 other branch
Fix github auth failure resulting in 'Invalid Credentials' message when 'user' s…
…cope is not requested
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
config/initializers/devise.rb
... | ... | @@ -122,7 +122,8 @@ Devise.setup do |config| |
122 | 122 | config.omniauth :github, |
123 | 123 | Errbit::Config.github_client_id, |
124 | 124 | Errbit::Config.github_secret, |
125 | - :scope => Errbit::Config.github_access_scope.join(",") | |
125 | + :scope => Errbit::Config.github_access_scope.join(","), | |
126 | + :skip_info => true | |
126 | 127 | end |
127 | 128 | |
128 | 129 | # ==> Navigation configuration | ... | ... |