mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-29 11:50:24 +00:00
add admin checks for admin pages and run biome formating 🔨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 11m8s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 11m8s
This commit is contained in:
@ -2,7 +2,7 @@ import { withAuth } from "next-auth/middleware";
|
||||
|
||||
export default withAuth(
|
||||
// `withAuth` augments your `Request` with the user's token.
|
||||
function middleware(req) { },
|
||||
function middleware(req) {},
|
||||
);
|
||||
|
||||
export const config = {
|
||||
|
Reference in New Issue
Block a user