1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
letu/sockets/index.js

10 lines
424 B
JavaScript
Raw Normal View History

module.exports = socket => {
console.log("New connection !");
2020-10-12 21:29:18 +02:00
socket.on("login", require("./login")(socket));
2020-10-12 23:24:59 +02:00
socket.on("register", require("./register")(socket));
socket.on("checkResend", require("./email/checkResend")(socket));
socket.on("forgotPassword", require("./email/forgotPassword")(socket));
socket.on("setPassword", require("./email/setPassword")(socket));
socket.emit("connected");
}