We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5921d23 commit 5b04e54Copy full SHA for 5b04e54
api/api.js
@@ -65,6 +65,10 @@ const messageBuffer = new Array(bufferSize);
65
let messageIndex = 0;
66
67
app.io.on('connection', socket => {
68
+ if (!socket._feathers) {
69
+ // https://github.com/feathersjs/authentication/pull/604
70
+ socket._feathers = {};
71
+ }
72
const user = socket.feathers.user ? { ...socket.feathers.user, password: undefined } : undefined;
73
socket.emit('news', { msg: "'Hello World!' from server", user });
74
0 commit comments