http referer error message

This commit is contained in:
Adrian Scillato 2021-08-17 13:45:30 -03:00 committed by GitHub
parent 079cd54088
commit cbab3bdfb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ bool HttpCheckPriviledgedAccess(bool autorequestauth = true)
return true;
}
}
AddLog(LOG_LEVEL_INFO, PSTR(D_LOG_HTTP "Referer denied"));
AddLog(LOG_LEVEL_INFO, PSTR(D_LOG_HTTP "HTP: Referer denied. Use 'SO128 1' for HTTP API commands. 'Webpassword' is recommended."));
return false;
} else {
return true;