mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 Support LiuYun account login https://github.com/siyuan-note/siyuan/issues/8578
This commit is contained in:
parent
1bf19f7967
commit
ab5a91de5c
2 changed files with 7 additions and 3 deletions
|
|
@ -95,7 +95,8 @@ func login(c *gin.Context) {
|
|||
name := arg["userName"].(string)
|
||||
password := arg["userPassword"].(string)
|
||||
captcha := arg["captcha"].(string)
|
||||
result, err := model.Login(name, password, captcha)
|
||||
cloudRegion := int(arg["cloudRegion"].(float64))
|
||||
result, err := model.Login(name, password, captcha, cloudRegion)
|
||||
if nil != err {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue