debian-mirror-gitlab/app/services/users/authorized_build_service.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
376 B
Ruby
Raw Normal View History

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')