Fix Discord Request Implements Final
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
1be1f65453
commit
ad084e3555
@ -683,9 +683,6 @@ function startServer(client) {
|
||||
log.server("Discord Auth : [IDENTITE] : Nouvelle identité - SOCKET_ID : " + socket.id + " - DISCORD_USER : " + response.username + "#" + response.discriminator)
|
||||
socket.emit("registerToken", token)
|
||||
|
||||
socket.emit("successLogin")
|
||||
|
||||
|
||||
const tokens = require(__dirname + path.sep + "tokens.json")
|
||||
|
||||
tokens[token] = response
|
||||
@ -694,7 +691,9 @@ function startServer(client) {
|
||||
|
||||
await addAllUsers()
|
||||
|
||||
await socket.emit("successLogin")
|
||||
actualize()
|
||||
|
||||
authTokenWait.delete(token)
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user