krakenjs / lusca

Application security for express apps.
Other
1.78k stars 123 forks source link

add req.csrfToken back in #60

Closed jasisk closed 9 years ago

jasisk commented 9 years ago

minor release

this method is added to enable the session handler to retrigger csrf seeding / token generation as necessary.

I'd prefer to have late generation but that's a bigger change and I'd like to get this out.

aredridel commented 9 years ago

Hate the API, love the implementation. :+1:

jasisk commented 9 years ago

The entire thing makes me have a sad but rewrite forthcoming.

tlivings commented 9 years ago

I echo @aredridel on that :+1: