adminforth 1.1.86 → 1.1.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth.ts +1 -0
- package/dist/auth.js +1 -0
- package/package.json +1 -1
package/auth.ts
CHANGED
|
@@ -84,6 +84,7 @@ class AdminForthAuth {
|
|
|
84
84
|
return null;
|
|
85
85
|
}
|
|
86
86
|
const { pk, t } = decoded;
|
|
87
|
+
process.env.HEAVY_DEBUG && console.log('🪲Decoded token:', decoded, 'orig token', jwtToken);
|
|
87
88
|
if (t !== mustHaveType) {
|
|
88
89
|
console.error(`Invalid token type during verification: ${t}, must be ${mustHaveType}`);
|
|
89
90
|
return null;
|
package/dist/auth.js
CHANGED
|
@@ -76,6 +76,7 @@ class AdminForthAuth {
|
|
|
76
76
|
return null;
|
|
77
77
|
}
|
|
78
78
|
const { pk, t } = decoded;
|
|
79
|
+
process.env.HEAVY_DEBUG && console.log('🪲Decoded token:', decoded, 'orig token', jwtToken);
|
|
79
80
|
if (t !== mustHaveType) {
|
|
80
81
|
console.error(`Invalid token type during verification: ${t}, must be ${mustHaveType}`);
|
|
81
82
|
return null;
|