#3041 - An ActionController::ParameterMissing occurred in sessions#create: param is missing or the value is empty: person
An ActionController::ParameterMissing occurred in sessions#create:
param is missing or the value is empty: person
app/services/two_factor/authenticate_with.rb:45:in `person_params'
-------------------------------
Request:
-------------------------------
* URL : https://www.bikelink.org/people/sign_in?card_type=bikelink
* HTTP Method: POST
* IP address : 73.70.198.123
* Parameters : {"authenticity_token"=>"+YtWYRdnULfJHvdsWNe1zGXkFEOL4/pEFYz3RujeSMxZ0rAkR63JUHTIjnCfLW/2Jl5V8RdTMhVRp8wvqMaMPA==", "modern_registration_former"=>{"card_type"=>"bikelink", "first_name"=>"Eugene ", "last_name"=>"Richardson ", "email"=>"Meangene2300@gmail.com", "phone"=>"5102288220", "verify_phone_by"=>"sms", "picture_id"=>"1111", "month_of_birth"=>"04", "day_of_birth"=>"17", "year_of_birth"=>"1972", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Next", "card_type"=>"bikelink", "controller"=>"authentication/sessions", "action"=>"create"}
* Timestamp : 2022-05-15 16:02:12 UTC
* Server : www-6.internal.bikelink.org
* Rails root : /var/www/bikelink
* Process: 14536
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: {"session_id"=>"98ec7fc3e28153748300eb3c7e5c8fbf",
"warden.user.person.key"=>[[53792], "9cmyrVAKKDByEKqgA_KH"],
"_csrf_token"=>"cElFcv4sfZOWf8nuUXBySCP07y6Xj8NJgnVrHbxkY0Q="}
------------------------------
Backtrace:
-------------------------------
app/services/two_factor/authenticate_with.rb:45:in `person_params'
app/services/two_factor/authenticate_with.rb:39:in `find_person'
app/services/two_factor/authenticate_with.rb:10:in `initialize'
app/services/two_factor/authenticate_with_otp.rb:7:in `initialize'
app/controllers/concerns/authenticate_with_two_factor.rb:16:in `new'
app/controllers/concerns/authenticate_with_two_factor.rb:16:in `otp_two_factor_enabled?'
app/controllers/authentication/sessions_controller.rb:17:in `block in <class:SessionsController>'
app/controllers/application_controller.rb:47:in `process_action'
Reload