0
0
Fork 0

Add authentication history (#16408)

This commit is contained in:
Eugen Rochko 2021-06-21 17:07:30 +02:00 committed by GitHub
parent 946200b471
commit d174d12c83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 206 additions and 21 deletions

View file

@ -0,0 +1,7 @@
# frozen_string_literal: true
class Settings::LoginActivitiesController < Settings::BaseController
def index
@login_activities = LoginActivity.where(user: current_user).order(id: :desc).page(params[:page])
end
end