alaska-user
Advanced tools
Comparing version 0.11.3 to 0.11.5
{ | ||
"name": "alaska-user", | ||
"version": "0.11.3", | ||
"version": "0.11.5", | ||
"description": "Alaska user service", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -14,5 +14,5 @@ // @flow | ||
async exec(params: { ctx:Alaska$Context }) { | ||
let key = alaska.main.config('autoLogin.key'); | ||
if (key) { | ||
params.ctx.cookies.set(key); | ||
let autoLogin = alaska.main.config('autoLogin'); | ||
if (autoLogin && autoLogin.key) { | ||
params.ctx.cookies.set(autoLogin.key, '', autoLogin); | ||
} | ||
@@ -19,0 +19,0 @@ delete params.ctx.session.userId; |
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
18941