Add authentication history (#16408)
This commit is contained in:
		
					parent
					
						
							
								946200b471
							
						
					
				
			
			
				commit
				
					
						d174d12c83
					
				
			
		
					 19 changed files with 206 additions and 21 deletions
				
			
		
							
								
								
									
										7
									
								
								app/controllers/settings/login_activities_controller.rb
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								app/controllers/settings/login_activities_controller.rb
									
										
									
									
									
										Normal 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 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue