Conflicts: - `config/navigation.rb`: Conflict due to glitch-soc having extra navigation items for its theming system. Ported upstream changes.
16 lines
366 B
Ruby
16 lines
366 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Settings::LoginActivitiesController < Settings::BaseController
|
|
skip_before_action :check_self_destruct!
|
|
skip_before_action :require_functional!
|
|
|
|
def index
|
|
@login_activities = LoginActivity.where(user: current_user).order(id: :desc).page(params[:page])
|
|
end
|
|
|
|
private
|
|
|
|
def set_pack
|
|
use_pack 'settings'
|
|
end
|
|
end
|