From 842fa97d37d89ae58eb6abe10ec7524eb7886a8e Mon Sep 17 00:00:00 2001 From: smizrahi Date: Thu, 5 Jan 2023 15:59:14 +0100 Subject: [PATCH] fix(authentication): Reduce Cookie user key len to avoid exceeding 4096 bytes. Users in chrome <= 75 could not login due to cookie of 4099 bytes --- SoObjects/SOGo/SOGoWebAuthenticator.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/SOGo/SOGoWebAuthenticator.m b/SoObjects/SOGo/SOGoWebAuthenticator.m index 94f694d19..744ccfecc 100644 --- a/SoObjects/SOGo/SOGoWebAuthenticator.m +++ b/SoObjects/SOGo/SOGoWebAuthenticator.m @@ -52,7 +52,7 @@ about the same. The length is prior to bas64 encoding, so we must calculate a 33-36% increase. */ -#define COOKIE_USERKEY_LEN 3000 +#define COOKIE_USERKEY_LEN 2096 @implementation SOGoWebAuthenticator