Skip to content

Commit

Permalink
Merge pull request #511 from jeryRazakarison/master
Browse files Browse the repository at this point in the history
Prevent raise of exception if set_user_by_token not defined
  • Loading branch information
booleanbetrayal committed Jan 26, 2016
2 parents 18d7d67 + 9278dc1 commit 129025b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module DeviseTokenAuth
class OmniauthCallbacksController < DeviseTokenAuth::ApplicationController

attr_reader :auth_params
skip_before_action :set_user_by_token
skip_before_action :set_user_by_token, raise: false
skip_after_action :update_auth_header

# intermediary route for successful omniauth authentication. omniauth does
Expand Down

0 comments on commit 129025b

Please sign in to comment.