mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
Merge remote-tracking branch 'origin/develop' into feature/client_server_separation
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user