log in fix
This commit is contained in:
parent
30160a93af
commit
ea10ef5230
@ -4,6 +4,6 @@ import {TSocket} from "../utilities/Types";
|
||||
export default function (socket: TSocket, io: Server) {
|
||||
socket.on('login', () => {
|
||||
// return user data
|
||||
socket.emit('login', {user: socket.user});
|
||||
socket.emit('logged_in', {user: socket.user});
|
||||
});
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user