Files
overleaf-cep/server-ce/hotfix/6.2.2/fix_invite_token_secret.patch
Miguel Serrano b0015ef166 [CE/SP] Hotfix 6.2.2 (#35546)
* [CE/SP] Hotfix 6.2.2

GitOrigin-RevId: 5ee457a611fe7d6f73d8ce4bcf55378bd8c7fc69
2026-09-17 11:32:08 +00:00

14 lines
561 B
Diff

diff --git a/server-ce/config/settings.js b/server-ce/config/settings.js
index 160a0b8cb01..3ecb620a339 100644
--- a/server-ce/config/settings.js
+++ b/server-ce/config/settings.js
@@ -307,7 +307,7 @@ const settings = {
// This secret is used for encrypting sharing link tokens in the database
if (process.env.OVERLEAF_INVITE_TOKEN_SECRET) {
- module.exports.projectInviteEncryptorOptions = {
+ settings.projectInviteEncryptorOptions = {
cipherLabel: '2026.3-v3',
cipherPasswords: {
'2026.3-v3': process.env.OVERLEAF_INVITE_TOKEN_SECRET,