Log error on web service start when hashedEmailSalt not set

GitOrigin-RevId: 67473de85d869b56aa1321391b03ddcceb95346b
This commit is contained in:
Andrew Rumble
2025-08-29 08:05:25 +00:00
committed by Copybot
parent eb737c7a98
commit 42f3bd208b
3 changed files with 14 additions and 4 deletions
@@ -88,6 +88,7 @@ const overrides = {
analytics: {
enabled: true,
hashedEmailSalt: 'acceptance-test-salt',
},
}
@@ -339,7 +339,9 @@ describe('AnalyticsManager', function () {
this.analyticsId = 'bccd308c-5d72-426e-a106-662e88557795'
this.AnalyticsManager = SandboxedModule.require(MODULE_PATH, {
requires: {
'@overleaf/settings': {},
'@overleaf/settings': {
analytics: { hashedEmailSalt: 'test-salt' },
},
'../../infrastructure/Queues': {
getQueue: queueName => {
switch (queueName) {