@authing/guard-shim-react18 4.5.43-yaic.1 → 4.5.44-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -207,6 +207,15 @@ interface LoginTypeI18nProps {
|
|
|
207
207
|
};
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
+
interface I18nLang {
|
|
211
|
+
default: string;
|
|
212
|
+
i18n: {
|
|
213
|
+
[lang: string]: {
|
|
214
|
+
value: string;
|
|
215
|
+
enabled: boolean;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
}
|
|
210
219
|
export interface ApplicationConfig {
|
|
211
220
|
id: string;
|
|
212
221
|
allowedOrigins: string[];
|
|
@@ -327,6 +336,8 @@ export interface ApplicationConfig {
|
|
|
327
336
|
enableCompletePassword: boolean;
|
|
328
337
|
/** 是否开启手机密码注册手机号验证 */
|
|
329
338
|
enabledPPRegisterValid?: boolean;
|
|
339
|
+
/** 是否开启邮箱密码注册验证 */
|
|
340
|
+
enabledMailPwdRegisterValid?: boolean;
|
|
330
341
|
/** 是否开启邮箱域名匹配登录 */
|
|
331
342
|
enabledMatchEmailDomain?: boolean;
|
|
332
343
|
/**
|
|
@@ -386,4 +397,13 @@ export interface ApplicationConfig {
|
|
|
386
397
|
};
|
|
387
398
|
/** 特殊浏览器匹配字符串 */
|
|
388
399
|
specialBrowserSymbols?: string[];
|
|
400
|
+
resetPwdTipsConfig?: {
|
|
401
|
+
title: I18nLang;
|
|
402
|
+
desc: I18nLang;
|
|
403
|
+
};
|
|
404
|
+
noticePwdTipsConfig?: {
|
|
405
|
+
title: I18nLang;
|
|
406
|
+
desc: I18nLang;
|
|
407
|
+
};
|
|
408
|
+
noticePwdCustomLogo?: string;
|
|
389
409
|
}
|
package/package.json
CHANGED