added admin layout

This commit is contained in:
2024-04-27 00:40:27 +03:00
parent f17a002ac6
commit db66161d81
15 changed files with 566 additions and 36 deletions

View File

@@ -11,7 +11,7 @@ import { getTwoFactorConfirmationByUserId } from '@/data/two-factor-confirmation
declare module 'next-auth' {
interface Session {
user: { role: UserRole, locale: loc }
user: { role: UserRole, locale: loc, image?: string }
}
}