mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Support LiuYun account login https://github.com/siyuan-note/siyuan/issues/8578
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user