Fixed firstname and lastname when register
This commit is contained in:
@@ -21,7 +21,7 @@ class RegistrationsController < ApplicationController
|
|||||||
|
|
||||||
private
|
private
|
||||||
def user_params
|
def user_params
|
||||||
params.permit(:email, :password, :password_confirmation)
|
params.permit(:email, :firstname, :lastname, :password, :password_confirmation)
|
||||||
end
|
end
|
||||||
|
|
||||||
def send_email_verification
|
def send_email_verification
|
||||||
|
|||||||
Reference in New Issue
Block a user