kk-koa-framework
Advanced tools
Comparing version 1.0.44 to 1.0.45
{ | ||
"name": "kk-koa-framework", | ||
"version": "1.0.44", | ||
"version": "1.0.45", | ||
"description": "kk koa mvc webframework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -47,3 +47,3 @@ class Passport{ | ||
ctx.isAuthenticated = ()=>{ | ||
return ctx.session && ctx.profile && Object.keys(ctx.profile).length | ||
return ctx.session && ctx.session.profile && Object.keys(ctx.session.profile).length | ||
} | ||
@@ -50,0 +50,0 @@ } catch (error) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24895