Add Error Discord Auth Failed #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
d136ae9c50
commit
ea26cb9514
@ -600,8 +600,9 @@ function startServer(client) {
|
|||||||
|
|
||||||
const socket = authTokenWait.get(token)
|
const socket = authTokenWait.get(token)
|
||||||
|
|
||||||
if(req.query.code) {
|
if(req.query.error) {
|
||||||
socket.emit("authFailed")
|
socket.emit("authFailed")
|
||||||
|
log.server("Discord Auth : Erreur - Refus de connexion chez le service Discord : Token de Connexion : " + token + " associé à Client ID : " + socket.id)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user