feat(auth): check for admin role
This commit is contained in:
@@ -94,6 +94,7 @@ export async function getAdminSession(): Promise<AdminSession | null> {
|
||||
id: "demo-admin",
|
||||
email: "[email protected]",
|
||||
emailVerified: true,
|
||||
role: "admin",
|
||||
name: "Demo Admin",
|
||||
},
|
||||
session: { id: "demo-session" },
|
||||
|
||||
Reference in New Issue
Block a user