chore: add middleware for logout from current web
This commit is contained in:
@@ -4,6 +4,7 @@ import { findLang } from "./constants/languages"
|
||||
import * as authRequired from "./middlewares/authRequired"
|
||||
import * as cmsContent from "./middlewares/cmsContent"
|
||||
import * as currentWebLogin from "./middlewares/currentWebLogin"
|
||||
import * as currentWebLogout from "./middlewares/currentWebLogout"
|
||||
import * as handleAuth from "./middlewares/handleAuth"
|
||||
import * as myPages from "./middlewares/myPages"
|
||||
import * as webView from "./middlewares/webView"
|
||||
@@ -26,6 +27,7 @@ export const middleware: NextMiddleware = async (request, event) => {
|
||||
|
||||
const middlewares = [
|
||||
currentWebLogin,
|
||||
currentWebLogout,
|
||||
authRequired,
|
||||
handleAuth,
|
||||
myPages,
|
||||
|
||||
Reference in New Issue
Block a user