Skip to content

Commit 202f6d5

Browse files
committed
fix handle_jwt_authentication params
1 parent e0ec5e2 commit 202f6d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jwt_authentication/jwt_authentication_handler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def handle_jwt_authentication(options = {})
4343
(options[:models] || JwtAuthentication.models).each do |model, params|
4444
entity = entities_manager.find_or_create_entity(model)
4545
define_jwt_authentication_helpers_for(entity)
46-
sign_in_method = options[:sign_in] || :devise
46+
sign_in_method = params[:sign_in] || :devise
4747
define_sign_in_method(entity, sign_in_method)
4848
end
4949
define_common_helpers(options)

0 commit comments

Comments
 (0)