2021-05-31 11:11:12 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Users
|
|
|
|
class AuthorizedBuildService < BuildService
|
|
|
|
extend ::Gitlab::Utils::Override
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
override :validate_access!
|
|
|
|
def validate_access!
|
|
|
|
# no-op
|
|
|
|
end
|
|
|
|
|
|
|
|
def signup_params
|
|
|
|
super + [:skip_confirmation]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2022-09-13 17:14:17 -04:00
|
|
|
|
|
|
|
Users::AuthorizedBuildService.prepend_mod_with('Users::AuthorizedBuildService')
|