mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 01:36:24 +01:00 
			
		
		
		
	fix(routes/login): add missing "appPath" to ejs render
This commit is contained in:
		| @@ -46,7 +46,8 @@ function setPassword(req: Request, res: Response) { | |||||||
|     if (error) { |     if (error) { | ||||||
|         res.render("set_password", { |         res.render("set_password", { | ||||||
|             error, |             error, | ||||||
|             assetPath: assetPath |             assetPath: assetPath, | ||||||
|  |             appPath: appPath | ||||||
|         }); |         }); | ||||||
|         return; |         return; | ||||||
|     } |     } | ||||||
| @@ -65,7 +66,8 @@ function login(req: Request, res: Response) { | |||||||
|  |  | ||||||
|         return res.status(401).render("login", { |         return res.status(401).render("login", { | ||||||
|             failedAuth: true, |             failedAuth: true, | ||||||
|             assetPath: assetPath |             assetPath: assetPath, | ||||||
|  |             appPath: appPath | ||||||
|         }); |         }); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user