code refactoring + many security/bug fixes
This commit is contained in:
Vendored
+1
-3
@@ -5,7 +5,6 @@ declare module "next-auth" {
|
||||
interface Session {
|
||||
user: {
|
||||
id: number;
|
||||
isSubscriber: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,9 +15,8 @@ declare module "next-auth" {
|
||||
|
||||
declare module "next-auth/jwt" {
|
||||
interface JWT {
|
||||
sub: string;
|
||||
sub?: number;
|
||||
id: number;
|
||||
isSubscriber: boolean;
|
||||
iat: number;
|
||||
exp: number;
|
||||
jti: string;
|
||||
|
||||
Reference in New Issue
Block a user