Added basic auth
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
module.exports = {
|
||||
name: "CRTelemetry",
|
||||
port: 80,
|
||||
username: "admin",
|
||||
password: "password",
|
||||
logger: {
|
||||
level: "info",
|
||||
error_path: "/app/logs/error.log",
|
||||
|
||||
@@ -49,9 +49,7 @@ setEventListeners(download, () => {
|
||||
});
|
||||
|
||||
setEventListeners(logout, () => {
|
||||
// fetch logout
|
||||
// check response type
|
||||
// redirect to auth
|
||||
window.location.href = `${window.location.protocol}//log:out@${window.location.host}`;
|
||||
});
|
||||
|
||||
for (let i = 1; i < sql_rows.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user