app/controllers/openstax/accounts/sessions_controller.rb in openstax_accounts-9.0.5 vs app/controllers/openstax/accounts/sessions_controller.rb in openstax_accounts-9.1.0
- old
+ new
@@ -8,11 +8,10 @@
store_fallback key: :accounts_return_to, strategies: [:session]
if configuration.enable_stubbing?
redirect_to dev_accounts_path
else
- forwardable_params =
- params.permit(*configuration.forwardable_login_param_keys.map(&:to_s)).to_h
+ forwardable_params = params.permit(*configuration.forwardable_login_params).to_h
redirect_to openstax_login_path(forwardable_params)
end
end
def callback