2020-08-20 22:18:50 +01:00
|
|
|
|
namespace Umbraco.Core.Configuration.Models
|
2020-03-16 14:02:08 +01:00
|
|
|
|
{
|
2020-08-20 08:24:23 +01:00
|
|
|
|
public class SecuritySettings
|
2020-03-16 14:02:08 +01:00
|
|
|
|
{
|
2020-08-20 08:24:23 +01:00
|
|
|
|
public bool KeepUserLoggedIn { get; set; } = false;
|
2020-03-18 11:29:29 +01:00
|
|
|
|
|
2020-08-20 08:24:23 +01:00
|
|
|
|
public bool HideDisabledUsersInBackoffice { get; set; } = false;
|
2020-03-18 11:29:29 +01:00
|
|
|
|
|
2020-08-20 08:24:23 +01:00
|
|
|
|
public bool AllowPasswordReset { get; set; } = true;
|
2020-03-18 11:29:29 +01:00
|
|
|
|
|
2020-08-20 08:24:23 +01:00
|
|
|
|
public string AuthCookieName { get; set; } = "UMB_UCONTEXT";
|
2020-03-18 11:29:29 +01:00
|
|
|
|
|
2020-08-20 08:24:23 +01:00
|
|
|
|
public string AuthCookieDomain { get; set; }
|
2020-03-18 11:29:29 +01:00
|
|
|
|
|
2020-08-20 08:24:23 +01:00
|
|
|
|
public bool UsernameIsEmail { get; set; } = true;
|
2020-08-25 10:45:54 +02:00
|
|
|
|
|
|
|
|
|
|
public UserPasswordConfigurationSettings UserPassword { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public MemberPasswordConfigurationSettings MemberPassword { get; set; }
|
2020-03-16 14:02:08 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|