Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Support LiuYun account login https://github.com/siyuan-note/siyuan/issues/8578

Daniel69017fd2e998
diff --git a/kernel/model/liandi.go b/kernel/model/liandi.go
index 6f3c4af728..28b530aa3a 100644
--- a/kernel/model/liandi.go
+++ b/kernel/model/liandi.go
@@ -571,7 +571,7 @@ func Login(userName, password, captcha string, cloudRegion int) (ret *gulu.Resul
result := map[string]interface{}{}
request := httpclient.NewCloudRequest30s()
- resp, err := request.
+ _, err := request.
SetSuccessResult(&result).
SetBody(map[string]string{"userName": userName, "userPassword": password, "captcha": captcha}).
Post(util.GetCloudServer() + "/apis/siyuan/login")