feat: add admin check for device and payment pages; update session type to include is_admin property

This commit is contained in:
2025-06-26 11:36:34 +05:00
parent fb3ad136bc
commit 6aea54884d
3 changed files with 11 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@ declare module "next-auth" {
last_login?: string;
date_joined?: string;
is_superuser?: boolean;
is_admin?: boolean;
};
expires: ISODateString;
}