feat: add admin authentication

This commit is contained in:
2026-09-18 16:50:35 +08:00
parent b89853bc94
commit bb5ccb1359
9 changed files with 85 additions and 1 deletions

8
pnpm-lock.yaml generated
View File

@@ -46,6 +46,9 @@ importers:
'@prisma/client':
specifier: ^6.2.1
version: 6.19.3(prisma@6.19.3(typescript@5.9.3))(typescript@5.9.3)
bcryptjs:
specifier: ^2.4.3
version: 2.4.3
class-transformer:
specifier: ^0.5.1
version: 0.5.1
@@ -572,6 +575,9 @@ packages:
resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==}
engines: {node: 18 || 20 || >=22}
bcryptjs@2.4.3:
resolution: {integrity: sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==}
brace-expansion@1.1.21:
resolution: {integrity: sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==}
@@ -1666,6 +1672,8 @@ snapshots:
balanced-match@4.0.4: {}
bcryptjs@2.4.3: {}
brace-expansion@1.1.21:
dependencies:
balanced-match: 1.0.2