mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
fix ps4transitionally.html sending accountid as string, not int
This commit is contained in:
parent
ab3c3a91cd
commit
321e42dbcc
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
<script>
|
<script>
|
||||||
function doLogin(){
|
function doLogin(){
|
||||||
var url = "sapphire-api/lobby/insertSession";
|
var url = "sapphire-api/lobby/insertSession";
|
||||||
var params = "{\"sId\":\"" + document.getElementsByName('sid')[0].value + "\",\"secret\":\"" + document.getElementsByName('secret')[0].value + "\",\"accountId\":\"" + document.getElementsByName('accountId')[0].value + "\"}";
|
var params = "{\"sId\":\"" + document.getElementsByName('sid')[0].value + "\",\"secret\":\"" + document.getElementsByName('secret')[0].value + "\",\"accountId\":" + document.getElementsByName('accountId')[0].value + "}";
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
xhr.open("POST", url, true);
|
xhr.open("POST", url, true);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue