We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0ec5e2 commit 202f6d5Copy full SHA for 202f6d5
lib/jwt_authentication/jwt_authentication_handler.rb
@@ -43,7 +43,7 @@ def handle_jwt_authentication(options = {})
43
(options[:models] || JwtAuthentication.models).each do |model, params|
44
entity = entities_manager.find_or_create_entity(model)
45
define_jwt_authentication_helpers_for(entity)
46
- sign_in_method = options[:sign_in] || :devise
+ sign_in_method = params[:sign_in] || :devise
47
define_sign_in_method(entity, sign_in_method)
48
end
49
define_common_helpers(options)
0 commit comments