Merge pull request #3 from brandonegg/add-next-auth-middleware
add redirect to login when user on page which requires account
This commit is contained in:
commit
33b30264d9
@ -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