Skip to content

Commit 35c5a80

Browse files
committed
Revert "updated dependency (#384)"
This reverts commit bc38882.
1 parent bc38882 commit 35c5a80

File tree

3 files changed

+28
-76
lines changed

3 files changed

+28
-76
lines changed

packages/auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@cooper/db": "workspace:*",
2424
"@t3-oss/env-nextjs": "^0.10.1",
2525
"next": "^14.2.35",
26-
"next-auth": "5.0.0-beta.30",
26+
"next-auth": "5.0.0-beta.19",
2727
"react": "catalog:react18",
2828
"react-dom": "catalog:react18",
2929
"zod": "catalog:"

packages/auth/src/config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ export const authConfig = {
4141
// In development, we need to skip checks to allow Expo to work
4242
...(!isSecureContext
4343
? {
44-
// Cast via unknown to align our import with NextAuth's internal @auth/core symbol type
45-
skipCSRFCheck:
46-
skipCSRFCheck as unknown as NextAuthConfig["skipCSRFCheck"],
44+
skipCSRFCheck: skipCSRFCheck,
4745
trustHost: true,
4846
}
4947
: {}),

pnpm-lock.yaml

Lines changed: 26 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)