Page MenuHomekolab.org

Fix race conditions after login redirect
ClosedPublic

Authored by machniak on Mon, Oct 5, 9:07 AM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

machniak requested review of this revision.Mon, Oct 5, 9:08 AM
machniak created this revision.
vanmeeuwen accepted this revision.Mon, Oct 5, 9:12 AM
This revision is now accepted and ready to land.Mon, Oct 5, 9:12 AM
This revision was automatically updated to reflect the committed changes.