Fix Discord Request Implements Final 2
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good
This commit is contained in:
parent
ad084e3555
commit
354a475954
@ -681,7 +681,7 @@ function startServer(client) {
|
|||||||
|
|
||||||
console.log(response)
|
console.log(response)
|
||||||
log.server("Discord Auth : [IDENTITE] : Nouvelle identité - SOCKET_ID : " + socket.id + " - DISCORD_USER : " + response.username + "#" + response.discriminator)
|
log.server("Discord Auth : [IDENTITE] : Nouvelle identité - SOCKET_ID : " + socket.id + " - DISCORD_USER : " + response.username + "#" + response.discriminator)
|
||||||
socket.emit("registerToken", token)
|
|
||||||
|
|
||||||
const tokens = require(__dirname + path.sep + "tokens.json")
|
const tokens = require(__dirname + path.sep + "tokens.json")
|
||||||
|
|
||||||
@ -691,7 +691,7 @@ function startServer(client) {
|
|||||||
|
|
||||||
await addAllUsers()
|
await addAllUsers()
|
||||||
|
|
||||||
await socket.emit("successLogin")
|
await socket.emit("successLogin", token)
|
||||||
actualize()
|
actualize()
|
||||||
|
|
||||||
authTokenWait.delete(token)
|
authTokenWait.delete(token)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user