fix: 修复禁用第三方登录自动注册无效的bug

This commit is contained in:
xiaojunnuo
2026-01-05 22:29:58 +08:00
parent 9ba6c83821
commit 7ee39fd4ed

View File

@@ -55,7 +55,7 @@ async function handleOauthToken() {
//需要绑定
bindCode.value = res.validationCode;
//如果开启了自动注册,默认自动注册账号
if (settingStore.sysPublic.registerEnabled) {
if (settingStore.sysPublic.oauthAutoRegister) {
autoRegister();
} else {
bindRequired.value = true;