Page MenuHomePhabricator

[lib] Pass userStateBeforeRecovery to setNewSession call in resolveKeyserverSessionInvalidation
ClosedPublic

Authored by ashoat on May 28 2024, 10:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 25, 7:01 AM
Unknown Object (File)
Fri, Dec 20, 8:47 AM
Unknown Object (File)
Tue, Dec 17, 6:02 AM
Unknown Object (File)
Tue, Dec 3, 8:09 AM
Unknown Object (File)
Wed, Nov 27, 12:07 PM
Unknown Object (File)
Wed, Nov 27, 11:25 AM
Unknown Object (File)
Wed, Nov 27, 9:04 AM
Unknown Object (File)
Nov 12 2024, 12:54 PM
Subscribers
None

Details

Summary

This resolves ENG-8244. This was an oversight... we should be passing userStateBeforeRecovery to setNewSession here in order to avoid triggering invalidSessionRecovery.

Test Plan
  1. Log in a test user in a multi-keyserver environment
  2. Delete the user's cookie in MariaDB
  3. Background and foreground the app
  4. Confirm that we no longer trigger a loop of the error mentioned in the Linear task

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable