Default token secret to new GUID

dhcp-server
Pat Hartl 2023-09-12 17:32:17 -05:00
parent d68e1d0433
commit 0f7124f205
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
public class LANCommanderAuthenticationSettings
{
public bool RequireApproval { get; set; } = false;
public string TokenSecret { get; set; } = "";
public string TokenSecret { get; set; } = Guid.NewGuid().ToString();
public int TokenLifetime { get; set; } = 30;
public bool PasswordRequireNonAlphanumeric { get; set; } = false;
public bool PasswordRequireLowercase { get; set; } = false;