add some comments

This commit is contained in:
LouisLam 2021-08-04 13:31:17 +08:00
parent 655536e457
commit 38c0c170e7
1 changed files with 4 additions and 0 deletions

View File

@ -538,6 +538,10 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
debug("added all socket handlers") debug("added all socket handlers")
// ***************************
// Better do anything after added all socket handlers here
// ***************************
debug("check auto login") debug("check auto login")
if (await setting("disableAuth")) { if (await setting("disableAuth")) {
console.log("Disabled Auth: auto login to admin") console.log("Disabled Auth: auto login to admin")