mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
update dep
This commit is contained in:
1 parent
7dc31d02fa
commit
36989b1942
7 files changed
+265
-80
No files matched your search
@@ -45,7 +45,6 @@ MIDDLEWARE(async (ctx, next) => {
|
||||
}
|
||||
};
|
||||
ctx.csrf_token = await token.add(token.TYPE_CSRF_TOKEN, 600, ctx.path);
|
||||
console.log(ctx.session.uid);
|
||||
await next();
|
||||
if (ctx.session.sid)
|
||||
await token.update(ctx.session.sid, tokenType, expireSeconds, Object.assign({
|
||||
|
||||
Reference in new issue
Block a user