fix(X-Pack): 第三方平台用户可以解绑,解绑之后无法登录

This commit is contained in:
fit2cloud-chenyw
2025-10-24 12:01:04 +08:00
committed by fit2cloud-chenyw
parent b6f5fa57e5
commit 2468ad1944
4 changed files with 8 additions and 2 deletions

View File

@@ -4690,7 +4690,8 @@ export default {
'After binding, you can log in by scanning the QR code through International Lark',
bind: 'Bind',
unbind_success: 'Unbind successfully',
confirm_unbind_dingtalk: 'Are you sure you want to unbind DingTalk? ',
confirm_unbind_dingtalk: 'Are you sure you want to unbind {0}? ',
unbind_error: 'Current user origin is {0}, cannot unbind',
pls_use: 'Please use ',
bind_use_qr: 'Scan QR code to bind',
pls_use_dingtalk: 'Please use DingTalk to scan QR code to log in',

View File

@@ -4556,7 +4556,8 @@ export default {
international_lark_desc: '綁定後,您可透過國際飛書掃碼登入',
bind: '綁定',
unbind_success: '解綁成功',
confirm_unbind_dingtalk: '確定解除釘釘綁定嗎? ',
confirm_unbind_dingtalk: '確定解除{0}綁定嗎? ',
unbind_error: '當前用戶來源是{0},無法解綁',
pls_use: '請使用',
bind_use_qr: '掃描二維碼綁定',
pls_use_dingtalk: '請使用釘釘掃描二維碼登入',

View File

@@ -4565,6 +4565,7 @@ export default {
bind: '绑定',
unbind_success: '解绑成功',
confirm_unbind_dingtalk: '确定解除{0}绑定吗?',
unbind_error: '当前用户来源是{0},无法解绑',
pls_use: '请使用',
bind_use_qr: '扫描二维码绑定',
pls_use_dingtalk: '请使用钉钉扫描二维码登录',

View File

@@ -47,6 +47,9 @@ public class UserFormVO implements Serializable {
@Schema(description = "MFA状态")
private Boolean mfaEnable = false;
@Schema(description = "用户来源")
private Integer origin = 0;
@Schema(description = "系统变量")
private List<SysVariableValueItem> variables;
}