Fix error

This commit is contained in:
Fred Boniface 2023-05-24 00:48:03 +01:00
parent c6a8ce2d58
commit affba1e93b

View File

@ -6,7 +6,7 @@ async function init(){
if (result == 'success') {
document.getElementById('reg_success').style = 'display:block'
} else if (result =='fail') {
let reason = await getQuery('rsn')
let reason = await getQuery('msg')
document.getElementById('reg_fail').style = 'display:block'
if (reason != 'false') {
document.getElementById('fail_msg').style = 'display:block'