add redirect to login when user on page which requires account #3
@ -1,5 +1,5 @@
|
||||
export { default } from "next-auth/middleware"
|
||||
|
||||
export { default } from "next-auth/middleware";
|
||||
|
||||
export const config = {
|
||||
matcher: '/resources/:id/edit',
|
||||
}
|
||||
matcher: "/resources/:id/edit",
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user