@tiledesk/tiledesk-server 2.14.14 → 2.14.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@
5
5
  🚀 IN PRODUCTION 🚀
6
6
  (https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
7
7
 
8
+ # 2.14.18
9
+ - Bug fix already existing email when login from google
10
+
11
+ # 2.14.17
12
+ - Bug fix google strategy passport
13
+
8
14
  # 2.14.14
9
15
  - Updated tybot-connector to 2.0.43
10
16
 
package/app.js CHANGED
@@ -324,6 +324,10 @@ if (process.env.ENABLE_ACCESSLOG) {
324
324
  }
325
325
 
326
326
  app.use(passport.initialize());
327
+ // If deployed behind a proxy/ingress (TLS terminated upstream), enable this
328
+ // if (process.env.TRUST_PROXY === "true") {
329
+ app.set('trust proxy', 1);
330
+ // }
327
331
 
328
332
  // After you declare "app"
329
333
  if (process.env.DISABLE_SESSION_STRATEGY==true || process.env.DISABLE_SESSION_STRATEGY=="true" ) {
@@ -352,7 +356,6 @@ if (process.env.DISABLE_SESSION_STRATEGY==true || process.env.DISABLE_SESSION_S
352
356
  prefix: "sessions:",
353
357
  })
354
358
 
355
-
356
359
  app.use(
357
360
  session({
358
361
  store: redisStore,