feat: add admin check for device and payment pages; update session type to include is_admin property
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 8m9s

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
app/next-auth.d.ts vendored
View File

@ -25,6 +25,7 @@ declare module "next-auth" {
last_login?: string;
date_joined?: string;
is_superuser?: boolean;
is_admin?: boolean;
};
expires: ISODateString;
}