feat: refactor authentication logic for admin and user login, improve error handling

This commit is contained in:
2025-06-18 16:59:36 +08:00
parent 0ca2d51669
commit ad78f713a3
5 changed files with 35 additions and 8219 deletions

View File

@ -7,19 +7,22 @@
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
"postinstall": "nuxt prepare",
"test": "vitest"
},
"dependencies": {
"@libsql/client": "^0.15.9",
"bcryptjs": "^3.0.2",
"drizzle-orm": "^0.44.2",
"drizzle-orm": "^0.30.0",
"nuxt": "^3.17.5",
"vue": "^3.5.16",
"vue-router": "^4.5.1"
"vue": "^3.4.0",
"vue-router": "^4.3.0"
},
"devDependencies": {
"@nuxtjs/tailwindcss": "7.0.0-beta.0",
"@nuxtjs/tailwindcss": "^6.14.0",
"@types/bcryptjs": "^3.0.0",
"drizzle-kit": "^0.31.1"
"drizzle-kit": "^0.31.1",
"happy-dom": "^18.0.1",
"vitest": "^0.33.0"
}
}