special pages workflow changed

This commit is contained in:
Jan Prochazka
2024-10-21 17:36:46 +02:00
parent 967615b6e5
commit 32c7919885
14 changed files with 339 additions and 109 deletions

View File

@@ -36,8 +36,9 @@ function authMiddleware(req, res, next) {
'/auth/login',
'/auth/redirect',
'/stream',
'storage/get-connections-for-login-page',
'auth/get-providers',
'/storage/get-connections-for-login-page',
'/storage/set-admin-password',
'/auth/get-providers',
'/connections/dblogin-web',
'/connections/dblogin-app',
'/connections/dblogin-auth',
@@ -69,6 +70,7 @@ function authMiddleware(req, res, next) {
return next();
} catch (err) {
if (skipAuth) {
req.isInvalidToken = true;
return next();
}