HomePhorge
Diffusion kolab 7fb26dbf8cc0

Fix race conditions after login redirect

Description

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

Reviewers: #hkccp_developers, vanmeeuwen

Reviewed By: #hkccp_developers, vanmeeuwen

Subscribers: #hkccp_developers

Differential Revision: https://git.kolab.org/D1696

Details

Provenance
machniakAuthored on Oct 5 2020, 9:12 AM
vanmeeuwenCommitted on Oct 5 2020, 9:12 AM
vanmeeuwenPushed on Oct 5 2020, 9:12 AM
Reviewer
Restricted Project
Differential Revision
D1696: Fix race conditions after login redirect
Parents
rK8f80c95fae23: Remove the unique constraint migration for the discounts table
Branches
Unknown
Tags
Unknown
Build Status
Buildable 31114