diff --git a/app/api/batch/update-based-on.ts b/app/api/batch/update-based-on.ts index 770c5d21..4a0b9769 100644 --- a/app/api/batch/update-based-on.ts +++ b/app/api/batch/update-based-on.ts @@ -16,7 +16,7 @@ export class UpdateBasedOn dotenv.config(); console.log(process.env.ENV_NAME); - // initialize database and authentification middleware + // initialize database and authentication middleware this.db = new Database(); setTimeout(this.updateBaseOn, 3000); diff --git a/app/api/batch/update-position-correction.ts b/app/api/batch/update-position-correction.ts index 184ca635..7a786dae 100644 --- a/app/api/batch/update-position-correction.ts +++ b/app/api/batch/update-position-correction.ts @@ -16,7 +16,7 @@ export class UpdatePositionCorrection dotenv.config(); console.log(process.env.ENV_NAME); - // initialize database and authentification middleware + // initialize database and authentication middleware this.db = new Database(); setTimeout(this.updateBaseOn, 3000); diff --git a/app/api/batch/update-thumbnail.ts b/app/api/batch/update-thumbnail.ts index 77e57848..32df3ae3 100644 --- a/app/api/batch/update-thumbnail.ts +++ b/app/api/batch/update-thumbnail.ts @@ -48,7 +48,7 @@ export class UpdateThumbnail OniItem.init(); OniItem.load(buildings); - // initialize database and authentification middleware + // initialize database and authentication middleware this.db = new Database(); setTimeout(this.updateThumbnail, 3000); diff --git a/app/app.ts b/app/app.ts index 5b15d742..de4f9963 100644 --- a/app/app.ts +++ b/app/app.ts @@ -55,7 +55,7 @@ class App OniItem.init(); OniItem.load(buildings); - // initialize database and authentification middleware + // initialize database and authentication middleware this.db = new Database(); this.auth = new Auth(); diff --git a/app/routes.ts b/app/routes.ts index b6533379..da18fa1b 100644 --- a/app/routes.ts +++ b/app/routes.ts @@ -16,7 +16,7 @@ export class Routes { public uploadBlueprintController = new BlueprintController(); public routes(app: Application): void { - // Initialize authentification middleware + // Initialize authentication middleware //let auth = expressJwt({secret: process.env.JWT_SECRET as string, userProperty: 'tokenPayload' }); let auth = expressJwt({secret: process.env.JWT_SECRET as string }); let recaptcha = new Recaptcha(process.env.CAPTCHA_SITE as string, process.env.CAPTCHA_SECRET as string); diff --git a/frontend/src/app/module-blueprint/components/user-auth/login-form/login-form.component.html b/frontend/src/app/module-blueprint/components/user-auth/login-form/login-form.component.html index 9391b18e..b43af0d2 100644 --- a/frontend/src/app/module-blueprint/components/user-auth/login-form/login-form.component.html +++ b/frontend/src/app/module-blueprint/components/user-auth/login-form/login-form.component.html @@ -19,7 +19,7 @@