Merge pull request #1087 from fatedier/fix

fix PUT /api/config without token
pull/1088/head
fatedier 6 years ago committed by GitHub
commit 9737978f28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -311,6 +311,8 @@ func (svr *Service) apiPutConfig(w http.ResponseWriter, r *http.Request) {
newRows = append(newRows, token)
}
}
} else {
newRows = tmpRows
}
content = strings.Join(newRows, "\n")

Loading…
Cancel
Save