mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Fix OVERLEAF_INVITE_TOKEN_SECRET being ignored in server-ce settings
This commit is contained in:
@@ -307,7 +307,7 @@ const settings = {
|
|||||||
|
|
||||||
// This secret is used for encrypting sharing link tokens in the database
|
// This secret is used for encrypting sharing link tokens in the database
|
||||||
if (process.env.OVERLEAF_INVITE_TOKEN_SECRET) {
|
if (process.env.OVERLEAF_INVITE_TOKEN_SECRET) {
|
||||||
module.exports.projectInviteEncryptorOptions = {
|
settings.projectInviteEncryptorOptions = {
|
||||||
cipherLabel: '2026.3-v3',
|
cipherLabel: '2026.3-v3',
|
||||||
cipherPasswords: {
|
cipherPasswords: {
|
||||||
'2026.3-v3': process.env.OVERLEAF_INVITE_TOKEN_SECRET,
|
'2026.3-v3': process.env.OVERLEAF_INVITE_TOKEN_SECRET,
|
||||||
|
|||||||
Reference in New Issue
Block a user