mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
fix: 修复禁用第三方登录自动注册无效的bug
This commit is contained in:
@@ -55,7 +55,7 @@ async function handleOauthToken() {
|
|||||||
//需要绑定
|
//需要绑定
|
||||||
bindCode.value = res.validationCode;
|
bindCode.value = res.validationCode;
|
||||||
//如果开启了自动注册,默认自动注册账号
|
//如果开启了自动注册,默认自动注册账号
|
||||||
if (settingStore.sysPublic.registerEnabled) {
|
if (settingStore.sysPublic.oauthAutoRegister) {
|
||||||
autoRegister();
|
autoRegister();
|
||||||
} else {
|
} else {
|
||||||
bindRequired.value = true;
|
bindRequired.value = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user