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
commit 25160a23a6
No known key found for this signature in database

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();