Log on Request Implements
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
b755e989cd
commit
99734aa619
@ -662,7 +662,7 @@ function startServer(client) {
|
||||
|
||||
function createIdentity(response, token, socket) {
|
||||
|
||||
|
||||
log.server(response)
|
||||
log.server("Discord Auth : REQUESTING DATA - TOKEN : " + token + " - DISCORD_ACCESS_TOKEN : " + response.access_token)
|
||||
|
||||
fetch('https://discord.com/api/users/@me', {
|
||||
@ -678,6 +678,7 @@ function startServer(client) {
|
||||
|
||||
function addIdentity(response, token, socket) {
|
||||
|
||||
log.server(response)
|
||||
log.server("Discord Auth : [IDENTITE] : Nouvelle identité - SOCKET_ID : " + socket.id + " - DISCORD_USER : " + response.username + "#" + response.discriminator)
|
||||
socket.emit("registerToken", token)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user