Created
March 20, 2013 15:47
-
-
Save gnap/5205763 to your computer and use it in GitHub Desktop.
tornado cookie signature in node.js
Also:
max_age_days = max_age_days === null ? 31 : max_age_days;
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey man,
I think the last line is:
return new Buffer(parts[0], 'base64').toString('utf8');