2021-09-04 01:27:46 +05:30
|
|
|
# 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-10-11 01:57:18 +05:30
|
|
|
|
|
|
|
Users::AuthorizedBuildService.prepend_mod_with('Users::AuthorizedBuildService')
|