mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-10-02 05:17:47 +02:00
update confirmation msg
This commit is contained in:
parent
4b5f3cbec1
commit
83fe6f6234
@ -290,7 +290,7 @@ function confirmJoin(hash) {
|
|||||||
socket.send(JSON.stringify({action: "session_hash_response", session_hash: hash}));
|
socket.send(JSON.stringify({action: "session_hash_response", session_hash: hash}));
|
||||||
}
|
}
|
||||||
function handleJoinRequest(parsed) {
|
function handleJoinRequest(parsed) {
|
||||||
if (confirm("Allow auth impersonation from VIAaaS instance? info: " + JSON.stringify(parsed))) {
|
if (confirm("Allow auth impersonation from VIAaaS instance for username " + parsed.user + "?\nSession Hash: " + parsed.session_hash + "\nServer Message: " + parsed.message)) {
|
||||||
let account = findAccountByMcName(parsed.user);
|
let account = findAccountByMcName(parsed.user);
|
||||||
if (account) {
|
if (account) {
|
||||||
getMcUserToken(account).then(data => {
|
getMcUserToken(account).then(data => {
|
||||||
|
Loading…
Reference in New Issue
Block a user