Skip to content

Commit

Permalink
fix(authentication): Reduce Cookie user key len to avoid exceeding 40…
Browse files Browse the repository at this point in the history
…96 bytes. Users in chrome <= 75 could not login due to cookie of 4099 bytes
  • Loading branch information
WoodySlum committed Jan 5, 2023
1 parent 0bd530a commit 842fa97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoObjects/SOGo/SOGoWebAuthenticator.m
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 842fa97

Please sign in to comment.