imbajin commented on code in PR #364: URL: https://github.com/apache/incubator-hugegraph-doc/pull/364#discussion_r1669881446
########## content/cn/docs/config/config-authentication.md: ########## @@ -36,7 +36,16 @@ GET http://localhost:8080/graphs/hugegraph/schema/vertexlabels Authorization: Basic admin xxxx ``` +**警告**:在1.5.0之前版本的HugeGraph在`StandardAuthenticator`模式下存在JWT相关的安全隐患,请使用者更新版本或自行设置JWT token的secreKey。修改的具体方法可以在配置文件`rest-server.properties`中配置`auth.token_secret`信息: Review Comment: 可以开一下几个插件, 自动 fix 一下格式问题, 参考 https://github.com/apache/incubator-hugegraph-doc/pull/282#issuecomment-1719156940 ########## content/cn/docs/config/config-authentication.md: ########## @@ -36,7 +36,16 @@ GET http://localhost:8080/graphs/hugegraph/schema/vertexlabels Authorization: Basic admin xxxx ``` +**警告**:在1.5.0之前版本的HugeGraph在`StandardAuthenticator`模式下存在JWT相关的安全隐患,请使用者更新版本或自行设置JWT token的secreKey。修改的具体方法可以在配置文件`rest-server.properties`中配置`auth.token_secret`信息: + +```properties +auth.token_secret=XXXX #这里为32位String +``` + + + Review Comment: 似乎有多余的空行, 一般有一个就行 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
