|
@@ -58,13 +58,13 @@ namespace MTWorkHR.Core.Global
|
|
|
|
|
|
public class OTPSettings
|
|
public class OTPSettings
|
|
{
|
|
{
|
|
- public int Length { get; set; }
|
|
|
|
|
|
+ public int Length { get; set; } = 4;
|
|
public int ExpirePeriodInMinutes { get; set; }
|
|
public int ExpirePeriodInMinutes { get; set; }
|
|
public string MessageSubject { get; set; }
|
|
public string MessageSubject { get; set; }
|
|
public string MessageBody { get; set; }
|
|
public string MessageBody { get; set; }
|
|
public bool SendEmail { get; set; }
|
|
public bool SendEmail { get; set; }
|
|
public bool SendSMS { get; set; }
|
|
public bool SendSMS { get; set; }
|
|
- public bool AllowZeros { get; set; }
|
|
|
|
|
|
+ public bool AllowZeros { get; set; } = true;
|
|
|
|
|
|
}
|
|
}
|
|
public class CaptchaSettings
|
|
public class CaptchaSettings
|