Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 24a31235 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

fix: Session cookie passing after successful resource finder

When user init the login flow, first app tries to retrieve the DAV
providers info by making DAV request via DavResourceFinder. In this
stage, no account is created, so inMemoryCookieStore is used. After
successful resource info retrieval then account is created & then
refreshed the collection via RefreshCollectionWorker. As previously only
inMemory cookieJar is used, the refreshCollection makes it's first
request without any cookie, which causes extra server headace.

To mitigate this, we need to persist the last inMemory cookies after
successful resource retrieval.
parent 6eb995b4
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment