cal.pub0.org/apps/web/components/security
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
..
ChangePasswordSection.tsx feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
DisableTwoFactorModal.tsx feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
DisableUserImpersonation.tsx 🧹 One `calcom/ui` import to rule them all (#5561) 2022-11-22 19:55:25 -07:00
EnableTwoFactorModal.tsx feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
TwoFactorAuthAPI.ts Improve 2fa: ask for code before account removal and 2fa disabling (#3817) 2022-08-31 14:57:53 -06:00
TwoFactorAuthSection.tsx Revert "Revert "I18N Caching (#6823)"" 2023-02-14 09:00:28 -07:00
TwoFactorModalHeader.tsx Tree shake icons (#7051) 2023-03-02 13:56:10 -07:00