mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #1499 from ayaka-notes:fix/invite-token-secret-ignored
GitOrigin-RevId: 0b92bf6c5ee724880650f6db5d08cdd22074dd77
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user