Merge remote-tracking branch 'origin/develop' into feature/client_server_separation

This commit is contained in:
Elian Doran
2025-04-18 02:33:39 +03:00

View File

@@ -15,7 +15,7 @@ const noAuthentication = config.General && config.General.noAuthentication === t
function checkAuth(req: Request, res: Response, next: NextFunction) {
if (!sqlInit.isDbInitialized()) {
res.redirect('setup');
return res.redirect('setup');
}
const currentTotpStatus = totp.isTotpEnabled();