replaced email with username
This commit is contained in:
Vendored
+4
-2
@@ -1,9 +1,11 @@
|
||||
import NextAuth, { DefaultSession } from "next-auth";
|
||||
import NextAuth from "next-auth";
|
||||
|
||||
declare module "next-auth" {
|
||||
interface Session {
|
||||
user: {
|
||||
id: number;
|
||||
} & DefaultSession["user"];
|
||||
username: string;
|
||||
email: string;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user