gitlab-org--gitlab-foss/app/controllers/profiles/active_sessions_controller.rb

8 lines
203 B
Ruby

# frozen_string_literal: true
class Profiles::ActiveSessionsController < Profiles::ApplicationController
def index
@sessions = ActiveSession.list(current_user).reject(&:is_impersonated)
end
end