feat: 1.3.6, ctx增加authToken字段
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user