20 lines
376 B
Ruby
20 lines
376 B
Ruby
# 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
|
|
|
|
Users::AuthorizedBuildService.prepend_mod_with('Users::AuthorizedBuildService')
|