kwanhur commented on a change in pull request #6668:
URL: https://github.com/apache/apisix/pull/6668#discussion_r834032435
##########
File path: docs/zh/latest/plugins/csrf.md
##########
@@ -29,11 +29,11 @@ title: csrf
## 属性
-| Name | Type | Requirement | Default | Valid | Description
|
+| 名称 | 类型 | 必选项 | 默认值 | 有效值 | 描述
|
| ---------------- | ------- | ----------- | ------- | ----- |
------------------------------------------------------------ |
-| name | string | optional | `apisix-csrf-token` | | 生成的 Cookie
中的 token 的名字,需要使用这个名字在请求头携带 Cookie 中的内容 |
-| expires | number | optional | `7200` | | CSRF Cookie 的过期时间(秒) |
-| key | string | required | | | 加密 token 的秘钥 |
+| name | string | 可选 | `apisix-csrf-token` | | 生成的 Cookie 中的
token 的名字,需要使用这个名字在请求头携带 Cookie 中的内容 |
+| expires | number | 可选 | `7200` | | CSRF Cookie 的过期时间(秒) |
+| key | string | 必选 | | | 加密 token 的秘钥 |
Review comment:
No, I don't we should change them on this PR, before the document
specification comes out, I prefer that keep consistent format.
--
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]