Page MenuHomePhorge

Fix race conditions after login redirect
ClosedPublic

Authored by machniak on Oct 5 2020, 9:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 9:23 AM
Unknown Object (File)
Thu, Apr 18, 7:06 AM
Unknown Object (File)
Sat, Apr 13, 1:44 PM
Unknown Object (File)
Sat, Apr 13, 9:32 AM
Unknown Object (File)
Fri, Apr 12, 6:57 AM
Unknown Object (File)
Tue, Apr 9, 7:43 AM
Unknown Object (File)
Wed, Apr 3, 11:01 PM
Unknown Object (File)
Fri, Mar 29, 7:38 AM
Subscribers
Restricted Project

Details

Reviewers
vanmeeuwen
Group Reviewers
Restricted Project
Commits
rK7fb26dbf8cc0: Fix race conditions after login redirect
Summary

Essentialy /api/auth/login response has been changed to return
the same result as /api/auth/info. Meaning there's no need to call
/api/auth/info after login. So, all pages that depend on this info
do not have to call or wait for /api/auth/info response.

Therefore it should be also faster.

Test Plan

./phpunit

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

machniak created this revision.
This revision is now accepted and ready to land.Oct 5 2020, 9:12 AM
This revision was automatically updated to reflect the committed changes.