mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
fix auth for all admin pages
This commit is contained in:
committed by
Thomas Ruoff
parent
73bb989ca7
commit
31c6a7972d
@@ -11,7 +11,7 @@ import { BOOKING_STATUS } from '../../../../db/enums'
|
||||
|
||||
export const getServerSideProps = getServerSideBooking;
|
||||
|
||||
export default function ShowBookingAdmin({
|
||||
function ShowBookingAdmin({
|
||||
booking: bookingProp,
|
||||
}: {
|
||||
booking: Booking
|
||||
@@ -77,3 +77,7 @@ export default function ShowBookingAdmin({
|
||||
</Layout>
|
||||
)
|
||||
}
|
||||
|
||||
ShowBookingAdmin.auth = true;
|
||||
|
||||
export default ShowBookingAdmin;
|
||||
|
||||
Reference in New Issue
Block a user