Exempt OIDC login page from coming-soon redirect
The wiki-login page needs to be accessible even in coming-soon mode so the OIDC login flow can complete.
This commit is contained in:
parent
4b3fed9689
commit
6f297cf137
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ export default defineNuxtRouteMiddleware((to, from) => {
|
|||
return;
|
||||
}
|
||||
|
||||
// Allow access to the coming-soon page itself
|
||||
if (to.path === "/coming-soon") {
|
||||
// Allow access to the coming-soon page and OIDC login
|
||||
if (to.path === "/coming-soon" || to.path === "/auth/wiki-login") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue