Files
Umbraco-CMS/src/Umbraco.Core/Configuration/Models/SecuritySettings.cs
Andy Butland e3a44c6717 Moved configuration setting POCOs into Umbraco.Core and adjusted references.
Amended injection of some settings to use IOptionsSnapshot.
2020-08-20 22:18:50 +01:00

18 lines
476 B
C#

namespace Umbraco.Core.Configuration.Models
{
public class SecuritySettings
{
public bool KeepUserLoggedIn { get; set; } = false;
public bool HideDisabledUsersInBackoffice { get; set; } = false;
public bool AllowPasswordReset { get; set; } = true;
public string AuthCookieName { get; set; } = "UMB_UCONTEXT";
public string AuthCookieDomain { get; set; }
public bool UsernameIsEmail { get; set; } = true;
}
}