debian-mirror-gitlab/app/services/two_factor/base_service.rb
2021-04-29 21:17:54 +05:30

15 lines
304 B
Ruby

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