cal.pub0.org/apps/web/components/settings
Lucas Smith 2317473545
feat(web): improve session retrieval performance (#7584)
* feat(web): improve session retrieval performance

Switch to using `getServerSession` which avoids a HTTP round trip to retrieve session details.

Additionally, migrate deprecated `app/lib/auth` calls to to `@calcom/lib` package.

* fix: update failing test and lint

* Consolidates auth code in features

* Update yarn.lock

* Update packages/trpc/server/createContext.ts

* Oopsie

---------

Co-authored-by: zomars <zomars@me.com>
2023-03-10 23:45:24 +00:00
..
CalendarSwitch.tsx Reduce bundle size by importing single icons at a time (#6644) 2023-01-23 23:08:01 +00:00
DisableTwoFactorModal.tsx feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
EnableTwoFactorModal.tsx feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
TwoFactorAuthAPI.ts 🧹 Cleaned up older v1 components for availability, settings and auth. (#5288) 2022-11-01 13:29:01 +00:00