senchalabs/connect — pull request #994 by anuj123 (2014-01-07 08:21:39+00:00)
Title: Making sure csrf secret is not generated multiple times initally

When using session cookies , csrf secret is getting generated multiple times inside non blocking callback.

This causes token to be generated with diffrent secret and causing 403 Forbidden error everytime you clear your cookies.

This change makes sure that first generated secret is used and stored in session cookie for further use