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

This commit is contained in:
smizrahi
2023-01-05 15:59:14 +01:00
parent 0bd530ab64
commit 842fa97d37

View File

@@ -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