From f39235d865412d75625779a557a6c51736798dfa Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Fri, 10 Mar 2023 19:16:12 -0600 Subject: Cambiar peticiones post para que usen formularios --- app/controllers/api/sessions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api/sessions_controller.rb') diff --git a/app/controllers/api/sessions_controller.rb b/app/controllers/api/sessions_controller.rb index 64d5464..3d9f315 100644 --- a/app/controllers/api/sessions_controller.rb +++ b/app/controllers/api/sessions_controller.rb @@ -29,7 +29,7 @@ module Api end def permitted_params - params.require(:credentials).permit(:email, :password) + params.permit(:email, :password) end end end -- cgit v1.2.3