mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-03 19:17:05 -05:00 
			
		
		
		
	* Do not allow non-admins to change their passwords when authentication is disabled * Clean up the login page so that input field text is black * cleanup some resizing when typing a password and having a lot of users * Changed the LastActive for a user to not just be login, but also when they open an already authenticated session.
		
			
				
	
	
		
			18 lines
		
	
	
		
			462 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			462 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System.Collections.Generic;
 | 
						|
using System.Threading.Tasks;
 | 
						|
using API.DTOs.Settings;
 | 
						|
using API.Entities;
 | 
						|
using API.Entities.Enums;
 | 
						|
 | 
						|
namespace API.Interfaces.Repositories
 | 
						|
{
 | 
						|
    public interface ISettingsRepository
 | 
						|
    {
 | 
						|
        void Update(ServerSetting settings);
 | 
						|
        Task<ServerSettingDto> GetSettingsDtoAsync();
 | 
						|
        Task<ServerSetting> GetSettingAsync(ServerSettingKey key);
 | 
						|
        Task<IEnumerable<ServerSetting>> GetSettingsAsync();
 | 
						|
 | 
						|
    }
 | 
						|
}
 |