login message undefined fix

This commit is contained in:
mrfry 2023-05-06 10:12:57 +02:00
parent 413aad47bd
commit 56376bfdb3

View file

@ -15,7 +15,7 @@
height: 100%;
float: left;
left: 0;
right: 0;
right: 0;
bottom: 0;
margin: 0;
position: absolute;
@ -111,9 +111,9 @@
const textNode = document.getElementById('text')
if (resp.result === 'success') {
location.reload()
textNode.innerText = resp.message
textNode.innerText = resp.msg
} else {
textNode.innerText = resp.message
textNode.innerText = resp.msg
button.disabled = false
button.classList.remove('disabledButton')
}