mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
* [CE/SP] Hotfix 6.2.2 GitOrigin-RevId: 5ee457a611fe7d6f73d8ce4bcf55378bd8c7fc69
14 lines
561 B
Diff
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,
|