feat: Implement username/password authentication and registration features

This commit is contained in:
beilunyang
2025-01-15 15:48:26 +08:00
parent 969d0ce334
commit 126a4cb948
24 changed files with 2643 additions and 67 deletions

1
types.d.ts vendored
View File

@@ -13,6 +13,7 @@ declare global {
declare module "next-auth" {
interface User {
roles?: { name: string }[]
username?: string | null
}
interface Session {