Commit 099c7927f2daa20e6fd8e51fad7393626df0e633
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'oauth_rails3' into stable
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
plugins/oauth_client/controllers/public/oauth_client_plugin_public_controller.rb
1 | class OauthClientPluginPublicController < PublicController | 1 | class OauthClientPluginPublicController < PublicController |
2 | 2 | ||
3 | + skip_before_filter :login_required | ||
4 | + | ||
3 | def callback | 5 | def callback |
4 | auth = request.env["omniauth.auth"] | 6 | auth = request.env["omniauth.auth"] |
5 | user = environment.users.find_by_email(auth.info.email) | 7 | user = environment.users.find_by_email(auth.info.email) |