kasperisager/sails-generate-auth — pull request #12 by HaNdTriX (2014-03-02 13:19:26+00:00)
Title: Move the session specific setup to service.js

Since the passport policy gets called almost on every request we should move ```serializeUser``` and ```deserializeUser``` out of the middleware/policy function.