Skip to content

Commit dcf63ae

Browse files
committed
docs(jwt-intro.md): 错别字校正
1 parent 4b34db7 commit dcf63ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/system-design/security/jwt-intro.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ HMACSHA256(
162162
3. JWT 存放在 localStorage 中而不是 Cookie 中,避免 CSRF 风险。
163163
4. 一定不要将隐私信息存放在 Payload 当中。
164164
5. 密钥一定保管好,一定不要泄露出去。JWT 安全的核心在于签名,签名安全的核心在密钥。
165-
6. Payload 要加入 `exp` (JWT 的过期时间),永久有效的 JWT 不合理。并且,JWT 的过期时间不易过长
165+
6. Payload 要加入 `exp` (JWT 的过期时间),永久有效的 JWT 不合理。并且,JWT 的过期时间不宜过长
166166
7. ……
167167

168168
<!-- @include: @article-footer.snippet.md -->

0 commit comments

Comments
 (0)