Fix OVERLEAF_INVITE_TOKEN_SECRET being ignored in server-ce settings

This commit is contained in:
Musicminion
2026-07-09 22:22:49 +08:00
parent 28ad3b03b7
commit 4db251b688
+1 -1
View File
@@ -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,