63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Server=localhost\\SQLEXPRESS;Database=WHMS-LTE-FS;User=dev;Password=dev;TrustServerCertificate=True;"
|
|
},
|
|
"DatabaseProvider": "SqlServer",
|
|
"FileImageManager": {
|
|
"PathFolder": "wwwroot/app_data/images",
|
|
"MaxFileSizeInMB": 5
|
|
},
|
|
"FileDocumentManager": {
|
|
"PathFolder": "wwwroot/app_data/docs",
|
|
"MaxFileSizeInMB": 25
|
|
},
|
|
"AspNetIdentity": {
|
|
"Password": {
|
|
"RequireDigit": false,
|
|
"RequireLowercase": false,
|
|
"RequireUppercase": false,
|
|
"RequireNonAlphanumeric": false,
|
|
"RequiredLength": 6
|
|
},
|
|
"Lockout": {
|
|
"DefaultLockoutTimeSpanInMinutes": 30,
|
|
"MaxFailedAccessAttempts": 5,
|
|
"AllowedForNewUsers": true
|
|
},
|
|
"User": {
|
|
"RequireUniqueEmail": true
|
|
},
|
|
"SignIn": {
|
|
"RequireConfirmedEmail": true //confirmation will sent through email, make sure SMTP Config is OK.
|
|
},
|
|
"DefaultAdmin": {
|
|
"Email": "admin@root.com",
|
|
"Password": "123456"
|
|
}
|
|
},
|
|
"Jwt": {
|
|
"Key": "YourVeryStrongAndSecureSecretKeyWhichIs32Chars!", //minimum 32 char
|
|
"Issuer": "YourIssuer",
|
|
"Audience": "YourAudience",
|
|
"ExpireInMinute": 30,
|
|
"ClockSkewInMinute": 0
|
|
},
|
|
"SmtpSettings": {
|
|
"Host": "xxx.gmail.com",
|
|
"Port": 465,
|
|
"UserName": "xxx@gmail.com",
|
|
"Password": "xxx", //if use smtp.gmail.com, use the GMAIL app password, not your email password. https://support.google.com/mail/answer/185833?hl=en
|
|
"FromAddress": "xxx@gmail.com",
|
|
"FromName": "INDOTALENT"
|
|
},
|
|
"IsDemoVersion": true,
|
|
"Kestrel": {
|
|
"Endpoints": {
|
|
"Http": {
|
|
"Url": "http://localhost:5000"
|
|
}
|
|
}
|
|
},
|
|
"AllowedHosts": "*"
|
|
}
|