fix: 修改auth token del时候的返回值
1.3.5
This commit is contained in:
parent
51864c7d5b
commit
7af471cfb8
@ -70,6 +70,8 @@ AuthToken.prototype.del = async function (userToken) {
|
||||
if (tokenData) {
|
||||
this.tokenDB.del(userToken);
|
||||
}
|
||||
|
||||
return tokenData;
|
||||
};
|
||||
|
||||
// 检查Token是否存在
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ehason/auth",
|
||||
"version": "1.3.4",
|
||||
"version": "1.3.5",
|
||||
"description": "User auth lib",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user