From d3b085e87b3cc263ed3a4e20b7404f5f6a6e597e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=B6hm?= Date: Mon, 9 Sep 2024 15:07:07 +0200 Subject: [PATCH] Fixed firstname and lastname when register --- app/controllers/registrations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index a80b849..5bbb71f 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -21,7 +21,7 @@ class RegistrationsController < ApplicationController private def user_params - params.permit(:email, :password, :password_confirmation) + params.permit(:email, :firstname, :lastname, :password, :password_confirmation) end def send_email_verification