Repository navigation
Commit 6c5d1c8
chore: 删掉 NextAuth 残留依赖和文件 (#403)
认证早已迁到后端 Sa-Token,代码里已经没有任何 next-auth / @auth/* 的引用:
- package.json 移除 next-auth、@auth/prisma-adapter(lockfile 同步;@types/node 写的是
"latest",重新解析顺带从 26.2.0 到 26.6.5)
- 删 app/api/auth/[...nextauth]/README.md(描述的路由早就不存在)和 sql/nextauth_schema.sql(无引用)
- .env.sample 去掉前端不读的 AUTH_GITHUB_* / AUTH_SECRET / AUTH_TRUST_HOST / AUTH_URL
prisma/schema.prisma 里的 legacy 表按 CLAUDE.md 保留不动。
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 0e8ef10 commit 6c5d1c8
5 files changed
Lines changed: 27 additions & 301 deletions
File tree
- app/api/auth/[...nextauth]
- sql
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 15 | | |
25 | 16 | | |
26 | 17 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
0 commit comments