update confirmation msg

This commit is contained in:
creeper123123321 2021-02-18 06:49:31 -03:00 committed by GitHub
parent 4b5f3cbec1
commit 83fe6f6234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,7 +290,7 @@ function confirmJoin(hash) {
socket.send(JSON.stringify({action: "session_hash_response", session_hash: hash}));
}
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);
if (account) {
getMcUserToken(account).then(data => {