mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
java: jwt for insert-image
This commit is contained in:
@ -74,6 +74,7 @@ public class EditorServlet extends HttpServlet
|
||||
if (DocumentManager.TokenEnabled())
|
||||
{
|
||||
file.BuildToken();
|
||||
dataInsertImage.put("token", DocumentManager.CreateToken(dataInsertImage));
|
||||
}
|
||||
|
||||
Gson gson = new Gson();
|
||||
|
||||
Reference in New Issue
Block a user