auth
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-12-10 19:34:30 +00:00
parent 6e24eaf334
commit ad2b3afa3c
8 changed files with 112 additions and 4 deletions

View File

@@ -67,6 +67,11 @@ function redirectToManage() {
window.location.href = 'manage.html?t='+Date.now();
}
function redirectToAuth() {
setProgress(100);
window.location.href = 'signin.html?t='+Date.now();
}
function start_system() {
var url = 'scan.php?op=system';
$.get(url, function(data){
@@ -94,6 +99,11 @@ function check_system() {
setProgress(80);
setTimeout(redirectToManage, 3000);
}
else if (data=='AUTH') {
$("#info").html('Previous install has found... Please sign in.');
setProgress(80);
setTimeout(redirectToAuth, 3000);
}
else if (data=='WAIT') {
setTimeout(check_system, 1000);
}