mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-31 04:04:19 -04:00
* Implemented the ability to disable authentication on a server instance. Admins will require authentication, but non-admin accounts can be setup without any password requirements. * WIP for new login page. * Reworked code to handle disabled auth better. First time user flow is moved into the user login component. * Removed debug code * Removed home component, shakeout testing is complete. * remove a file accidently committed * Fixed a code smell from last PR * Code smells
31 lines
1.0 KiB
C#
31 lines
1.0 KiB
C#
namespace API.DTOs
|
|
{
|
|
public class ServerSettingDto
|
|
{
|
|
public string CacheDirectory { get; set; }
|
|
public string TaskScan { get; set; }
|
|
/// <summary>
|
|
/// Logging level for server. Managed in appsettings.json.
|
|
/// </summary>
|
|
public string LoggingLevel { get; set; }
|
|
public string TaskBackup { get; set; }
|
|
/// <summary>
|
|
/// Port the server listens on. Managed in appsettings.json.
|
|
/// </summary>
|
|
public int Port { get; set; }
|
|
/// <summary>
|
|
/// Allows anonymous information to be collected and sent to KavitaStats
|
|
/// </summary>
|
|
public bool AllowStatCollection { get; set; }
|
|
/// <summary>
|
|
/// Enables OPDS connections to be made to the server.
|
|
/// </summary>
|
|
public bool EnableOpds { get; set; }
|
|
|
|
/// <summary>
|
|
/// Enables Authentication on the server. Defaults to true.
|
|
/// </summary>
|
|
public bool EnableAuthentication { get; set; }
|
|
}
|
|
}
|