fix PUT /api/config without token

pull/1087/head
fatedier 6 years ago
parent 1723d7b651
commit 5bc7fe2cea

@ -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