fix(routes/login): add missing "appPath" to ejs render

This commit is contained in:
Panagiotis Papadopoulos 2025-02-26 08:45:35 +01:00
parent 8b2788fa8c
commit 0aa1d602a1

View File

@ -46,7 +46,8 @@ function setPassword(req: Request, res: Response) {
if (error) {
res.render("set_password", {
error,
assetPath: assetPath
assetPath: assetPath,
appPath: appPath
});
return;
}
@ -65,7 +66,8 @@ function login(req: Request, res: Response) {
return res.status(401).render("login", {
failedAuth: true,
assetPath: assetPath
assetPath: assetPath,
appPath: appPath
});
}