![Stack Overflow](http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon.png)
I'm still finding my way with Node.js and more recently Sails.js. The following is an extract from my UserController that validates a User's email when they come though to a URL with an appropriate token. It works but it's kinda hideous, and I'm sure there is a better way to approach it.
verifyE...