diff --git a/package.json b/package.json index 8f48c52..7da43e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wms-core", - "version": "0.4.17", + "version": "0.4.18", "description": "Node web framework", "repository": "git@gitlab.com:ArisuOngaku/wms-core.git", "author": "Alice Gaudon ", diff --git a/src/components/RedisComponent.ts b/src/components/RedisComponent.ts index ca2b698..06e7030 100644 --- a/src/components/RedisComponent.ts +++ b/src/components/RedisComponent.ts @@ -20,6 +20,7 @@ export default class RedisComponent extends ApplicationComponent { this.store = new RedisStore({ client: this.redisClient, prefix: config.get('redis.prefix') + '-session:', + pass: config.has('redis.password') ? config.get('redis.password') : undefined, }); }