mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-03 00:38:23 +00:00
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
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 8m9s
This commit is contained in:
1
app/next-auth.d.ts
vendored
1
app/next-auth.d.ts
vendored
@ -25,6 +25,7 @@ declare module "next-auth" {
|
||||
last_login?: string;
|
||||
date_joined?: string;
|
||||
is_superuser?: boolean;
|
||||
is_admin?: boolean;
|
||||
};
|
||||
expires: ISODateString;
|
||||
}
|
||||
|
Reference in New Issue
Block a user