Commit 6acccc28 authored by Stan Hu's avatar Stan Hu

Merge branch '338766-remove-superfluous-override-usage' into 'master'

Remove use of Gitlab::Utils::Override

See merge request gitlab-org/gitlab!73046
parents 92da3893 9655bb65
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
# EE:SaaS # EE:SaaS
# TODO: namespace https://gitlab.com/gitlab-org/gitlab/-/issues/338394 # TODO: namespace https://gitlab.com/gitlab-org/gitlab/-/issues/338394
class TrialRegistrationsController < RegistrationsController class TrialRegistrationsController < RegistrationsController
extend ::Gitlab::Utils::Override
include OneTrustCSP include OneTrustCSP
layout 'minimal' layout 'minimal'
...@@ -41,7 +39,6 @@ class TrialRegistrationsController < RegistrationsController ...@@ -41,7 +39,6 @@ class TrialRegistrationsController < RegistrationsController
end end
end end
override :sign_up_params
def sign_up_params def sign_up_params
if params[:user] if params[:user]
params.require(:user).permit(:first_name, :last_name, :username, :email, :password, :skip_confirmation, :email_opted_in) params.require(:user).permit(:first_name, :last_name, :username, :email, :password, :skip_confirmation, :email_opted_in)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment