mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-01 22:38:49 +01:00
🎨 Support LiuYun account login https://github.com/siyuan-note/siyuan/issues/8578
This commit is contained in:
parent
e88ee6b2b8
commit
69017fd2e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue