Page MenuHomekolab.org

Fix race conditions after login redirect
ClosedPublic

Authored by machniak on Oct 5 2020, 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
Branch
dev/fix-wallet-page
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 31099
Build 11665: arc lint + arc unit

Event Timeline

machniak requested review of this revision.Oct 5 2020, 9:08 AM
machniak created this revision.
vanmeeuwen accepted this revision.Oct 5 2020, 9:12 AM
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.