feat: 1.3.6, ctx增加authToken字段
This commit is contained in:
parent
7af471cfb8
commit
fe352d815a
@ -122,6 +122,8 @@ AuthToken.prototype.koaRequest = async function (ctx, next) {
|
||||
return;
|
||||
}
|
||||
|
||||
ctx.authToken = this;
|
||||
|
||||
return next();
|
||||
};
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ehason/auth",
|
||||
"version": "1.3.5",
|
||||
"version": "1.3.6",
|
||||
"description": "User auth lib",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user