Skip to content

Commit

Permalink
docs: fix some typo (#597)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylezhang authored and atian25 committed Mar 20, 2017
1 parent 984d732 commit ee77e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/zh-cn/core/cookie-and-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ exports.login = function* (ctx) {

// 设置 Session
this.session.user = user;
// 如果用户勾选了 `记住我`,设置一个月的过期时间
// 如果用户勾选了 `记住我`,设置一分钟的过期时间
if (rememberMe) this.session.maxAge = ms('1m');
};
```
Expand Down

0 comments on commit ee77e5c

Please sign in to comment.