diff --git a/linuxdo.php b/linuxdo.php index 754b350..f53a699 100644 --- a/linuxdo.php +++ b/linuxdo.php @@ -156,7 +156,7 @@ if (isset($getTokenArr['access_token'])) { const connectId = document.getElementById('linuxdo').value request("/api?act=link&connect_id=" + connectId,{method:"POST"}).then(res => { if (res.code == '0') { - location.href = "/play?account=" + res.data.account + "&token=" + res.data.password; + location.href = "/play?account=" + res.data.username + "&token=" + res.data.password; } else { document.body.innerHTML = "授权失败" }