debian-mirror-gitlab/app/services/two_factor/base_service.rb
2023-01-13 15:02:22 +05:30

15 lines
317 B
Ruby

# frozen_string_literal: true
module TwoFactor
class BaseService
include BaseServiceUtility
attr_reader :current_user, :user, :group
def initialize(current_user, params = {})
@current_user = current_user
@user = params.delete(:user)
@group = params.delete(:group)
end
end
end