Comparing version 1.6.2 to 1.6.3
@@ -125,3 +125,3 @@ (function() { | ||
i18n.setLng(locale, function() { | ||
if (i18n.options.useCookie) i18n.persistCookie(req, res, i18n.lng()); | ||
if (i18n.options.useCookie) i18n.persistCookie(req, res, locale); | ||
next(); | ||
@@ -128,0 +128,0 @@ }); |
@@ -5,3 +5,3 @@ { | ||
"description": "i18n made easy - full featured: middleware, template support plus clientside use", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -0,1 +1,5 @@ | ||
### v1.6.3 | ||
- update with pre client | ||
- fixes possible language error caused by wrong lng set in cookie during handle | ||
### v1.6.1 | ||
@@ -2,0 +6,0 @@ - support for null values in resources |
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
928494