Finally it worked. Thank you very much. Just two points:
a. Ajaxing ends up with this URL:
I mean the internal details are visible to the user. An ideal solution is to reset the URL to something like this: localhost:4567/map
b. Suppose I cold load with an invalid URL:
it still renders the map page. Ideally, it should display the "Page Not found message"
Any solution to these two? Or, shall I consider them as "OK let it behave so!"?
I'm finished! The pull request is at https://github.com/NodeBB/nodebb-english/pull/46
If in case NodeBB didn't merge my pull request.
firelad97 created this issue in NodeBB/nodebb-english
Rewritten and use 0.7.x branch on installs
It seems require('socket.io').reqFromSocket(socket) doesn't returns a valid req for AuthController.doLogin.... i want to authenticate via websocket but maybe i will have to do it the old POST way, am i correct?