feat: fix JSON typo in init_data.json template

This commit is contained in:
Yang Luo 2024-02-21 17:33:08 +08:00
parent 23c2ba3a2b
commit 53b8424a1f

View File

@ -8,12 +8,62 @@
"favicon": "", "favicon": "",
"passwordType": "plain", "passwordType": "plain",
"passwordSalt": "", "passwordSalt": "",
"passwordOptions": ["AtLeast6"], "passwordOptions": [
"countryCodes": ["US", "GB", "ES", "FR", "DE", "CN", "JP", "KR", "VN", "ID", "SG", "IN", "IT", "MY", "TR", "DZ", "IL", "PH", "NL", "PL", "FI", "SE", "UA", "KZ"], "AtLeast6"
],
"countryCodes": [
"US",
"GB",
"ES",
"FR",
"DE",
"CN",
"JP",
"KR",
"VN",
"ID",
"SG",
"IN",
"IT",
"MY",
"TR",
"DZ",
"IL",
"PH",
"NL",
"PL",
"FI",
"SE",
"UA",
"KZ"
],
"defaultAvatar": "", "defaultAvatar": "",
"defaultApplication": "", "defaultApplication": "",
"tags": [], "tags": [],
"languages": ["en", "zh", "es", "fr", "de", "id", "ja", "ko", "ru", "vi", "it", "ms", "tr","ar", "he", "nl", "pl", "fi", "sv", "uk", "kk", "fa"], "languages": [
"en",
"zh",
"es",
"fr",
"de",
"id",
"ja",
"ko",
"ru",
"vi",
"it",
"ms",
"tr",
"ar",
"he",
"nl",
"pl",
"fi",
"sv",
"uk",
"kk",
"fa"
],
"masterPassword": "", "masterPassword": "",
"defaultPassword": "", "defaultPassword": "",
"initScore": 2000, "initScore": 2000,
@ -49,18 +99,18 @@
{ {
"name": "Password", "name": "Password",
"displayName": "Password", "displayName": "Password",
"rule": "All", "rule": "All"
}, },
{ {
"name": "Verification code", "name": "Verification code",
"displayName": "Verification code", "displayName": "Verification code",
"rule": "All", "rule": "All"
}, },
{ {
"name": "WebAuthn", "name": "WebAuthn",
"displayName": "WebAuthn", "displayName": "WebAuthn",
"rule": "None", "rule": "None"
}, }
], ],
"signupItems": [ "signupItems": [
{ {
@ -120,8 +170,17 @@
"rule": "None" "rule": "None"
} }
], ],
"grantTypes": ["authorization_code", "password", "client_credentials", "token", "id_token", "refresh_token"], "grantTypes": [
"redirectUris": [""], "authorization_code",
"password",
"client_credentials",
"token",
"id_token",
"refresh_token"
],
"redirectUris": [
""
],
"expireInHours": 168, "expireInHours": 168,
"failedSigninLimit": 5, "failedSigninLimit": 5,
"failedSigninFrozenTime": 15 "failedSigninFrozenTime": 15
@ -380,7 +439,7 @@
"host": "", "host": "",
"port": 0, "port": 0,
"user": "", "user": "",
"password": "", "password": ""
} }
], ],
"enforcers": [ "enforcers": [
@ -406,7 +465,7 @@
"product": "", "product": "",
"paymentProviders": [], "paymentProviders": [],
"isEnabled": true, "isEnabled": true,
"role", "" "role": ""
} }
], ],
"pricings": [ "pricings": [
@ -418,7 +477,7 @@
"plans": [], "plans": [],
"isEnabled": true, "isEnabled": true,
"trialDuration": 0, "trialDuration": 0,
"application": "", "application": ""
} }
] ]
} }