diff --git a/lib/wor/authentication/sessions_controller.rb b/lib/wor/authentication/sessions_controller.rb index dfea710..7c0c90f 100644 --- a/lib/wor/authentication/sessions_controller.rb +++ b/lib/wor/authentication/sessions_controller.rb @@ -63,12 +63,10 @@ def render_error(error_message, status) render json: { error: error_message }, status: status end - # I'm pretty sure this should be set by gems users and not us def authenticate_params - params.require(:session).permit(:email, :password) + params.require(:session) end - # I'm pretty sure this should be set by gems users and not us def renew_token_params params.require(:session).permit(:renew_id) end