Default token secret to new GUID
parent
d68e1d0433
commit
0f7124f205
|
@ -22,7 +22,7 @@
|
||||||
public class LANCommanderAuthenticationSettings
|
public class LANCommanderAuthenticationSettings
|
||||||
{
|
{
|
||||||
public bool RequireApproval { get; set; } = false;
|
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 int TokenLifetime { get; set; } = 30;
|
||||||
public bool PasswordRequireNonAlphanumeric { get; set; } = false;
|
public bool PasswordRequireNonAlphanumeric { get; set; } = false;
|
||||||
public bool PasswordRequireLowercase { get; set; } = false;
|
public bool PasswordRequireLowercase { get; set; } = false;
|
||||||
|
|
Loading…
Reference in New Issue