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)
Tue, Nov 12, 12:54 PM
Unknown Object (File)
Tue, Nov 12, 9:41 AM
Unknown Object (File)
Tue, Nov 12, 9:41 AM
Unknown Object (File)
Tue, Nov 12, 9:03 AM
Unknown Object (File)
Tue, Nov 5, 2:26 PM
Unknown Object (File)
Sun, Nov 3, 5:08 PM
Unknown Object (File)
Thu, Oct 31, 4:40 PM
Unknown Object (File)
Oct 10 2024, 9:51 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