Skip to content

Commit

Permalink
fix handle_jwt_authentication params
Browse files Browse the repository at this point in the history
  • Loading branch information
websumy committed Dec 24, 2015
1 parent e0ec5e2 commit 202f6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jwt_authentication/jwt_authentication_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def handle_jwt_authentication(options = {})
(options[:models] || JwtAuthentication.models).each do |model, params|
entity = entities_manager.find_or_create_entity(model)
define_jwt_authentication_helpers_for(entity)
sign_in_method = options[:sign_in] || :devise
sign_in_method = params[:sign_in] || :devise
define_sign_in_method(entity, sign_in_method)
end
define_common_helpers(options)
Expand Down

0 comments on commit 202f6d5

Please sign in to comment.