Add Error Discord Auth Failed
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
354a475954
commit
d136ae9c50
@ -600,7 +600,10 @@ function startServer(client) {
|
|||||||
|
|
||||||
const socket = authTokenWait.get(token)
|
const socket = authTokenWait.get(token)
|
||||||
|
|
||||||
|
if(req.query.code) {
|
||||||
|
socket.emit("authFailed")
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
|
||||||
const code = req.query.code
|
const code = req.query.code
|
||||||
@ -645,7 +648,7 @@ function startServer(client) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
res.send("SubSonics Manager : ERREUR : AUCUN TOKEN ENREGISTRÉ !")
|
res.send("SubSonics Manager : ERREUR : AUCUN TOKEN ENREGISTRÉ !")
|
||||||
|
Loading…
Reference in New Issue
Block a user