Scott Wyatt
Scott Wyatt
@GeekLad I took what you have and changed just a few things. This just makes sure that it sets the protocol as local (incase a user has multiple passports, but...
@GeekLad, hmmm, I just ran test on it, and it is working perfectly in my use case... I always place my lifecycle callbacks in an array so that they can...
@GeekLad just curious, if you change it back to what you had before does it work for you? Also, could you perhaps paste some of your User.js file here? I'd...
@GeekLad for tokens first I consider if it would better be done emulating Basic Auth (base encoding the email address and password), that way I don't need to set or...
This fixes the IP issue, at least it's in the right direction. ``` js var ipAddress = req.isSocket ? req.socket.handshake.address.address + ":" + req.socket.handshake.address.port : req.headers['x-forwarded-for'] || req.connection.remoteAddress; ```
"Sending 500 ("Server Error") response: RangeError: Maximum call stack size exceeded" from @grantbi I also get this error when using only the local protocol. I've tried it on multiple fresh...
Sounds good. I've tracked it down a little further by changing versions of node.js. It seems to be coming from some where in lodash. After updating node to 0.12.2 this...
@StoloADiane, I would definitely make the switch to sails 11, but that still doesn't fix the issue. I submitted a PR to the sails core for the patch and a...