mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-02-02 20:30:39 +00:00
add remove user token #34
This commit is contained in:
@@ -54,7 +54,7 @@ func (l *Login) Login(c *gin.Context) {
|
||||
//根据refer判断是webclient还是app
|
||||
ref := c.GetHeader("referer")
|
||||
if ref != "" {
|
||||
f.DeviceInfo.Type = "webclient"
|
||||
f.DeviceInfo.Type = model.LoginLogClientWeb
|
||||
}
|
||||
|
||||
ut := service.AllService.UserService.Login(u, &model.LoginLog{
|
||||
|
||||
Reference in New Issue
Block a user