From da4646ac6943ef73b404b8b5bca2e9925b621ee9 Mon Sep 17 00:00:00 2001 From: Braun Patrik Date: Thu, 7 Jul 2016 13:56:39 +0200 Subject: [PATCH] bug fix --- .gitignore | 1 + Procfile | 2 +- backend/model/memory/UserManager.ts | 3 +++ common/config/Config.ts | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b8fa4000..c32b9277 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ test/backend/**/*.js test/backend/**/*.js.map demo/TEMP/ config.json +users.db diff --git a/Procfile b/Procfile index 94e232ba..cc1e2d70 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: node ./backend/server.js \ No newline at end of file +web: node ./backend/server.js --Client-authenticationRequired=false \ No newline at end of file diff --git a/backend/model/memory/UserManager.ts b/backend/model/memory/UserManager.ts index 20f4f175..8c35de36 100644 --- a/backend/model/memory/UserManager.ts +++ b/backend/model/memory/UserManager.ts @@ -1,3 +1,6 @@ +/// + + import {User, UserRoles} from "../../../common/entities/User"; import {IUserManager} from "../IUserManager"; import {ProjectPath} from "../../ProjectPath"; diff --git a/common/config/Config.ts b/common/config/Config.ts index 1ecc8cfa..a239efe3 100644 --- a/common/config/Config.ts +++ b/common/config/Config.ts @@ -39,7 +39,7 @@ export class ConfigClass { enableCache: false, enableOnScrollRendering: true, enableOnScrollThumbnailPrioritising: true, - authenticationRequired: false + authenticationRequired: true }; public setDatabaseType(type:DatabaseType) {