update auth msg

This commit is contained in:
creeper123123321 2021-02-24 09:28:44 -03:00 committed by GitHub
parent 7a40dfeba2
commit 571be95378
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 for username " + parsed.user + "?\nSession Hash: " + parsed.session_hash + "\nServer Message: " + parsed.message)) {
if (confirm("Allow auth impersonation from VIAaaS instance?\nUsername: " + parsed.user + "?\nSession Hash: " + parsed.session_hash + "\nServer Message: '" + parsed.message + "'")) {
let account = findAccountByMcName(parsed.user);
if (account) {
getMcUserToken(account).then(data => {