app/controllers/auth/concerns/devise_concern.rb in wordjelly-auth-1.1.7 vs app/controllers/auth/concerns/devise_concern.rb in wordjelly-auth-1.1.8

- old
+ new

@@ -123,10 +123,10 @@ def protect_json_request ##should block any put action on the user ##and should render an error saying please do this on the server. if is_json_request? - #puts "it is a json request." + if action_name == "otp_verification_result" ##we let this action pass because, we make json ajax requests ##from the web ui to this endpoint, and anyway it does ##not return anything sensitive. #puts "action name is otp verification result." \ No newline at end of file