Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

some update for check password

kruzhambus876658497363
diff --git a/apps/production/src/project/project.controller.ts b/apps/production/src/project/project.controller.ts
index 9a10b1caf..4a1704b69 100644
--- a/apps/production/src/project/project.controller.ts
+++ b/apps/production/src/project/project.controller.ts
@@ -991,7 +991,11 @@ export class ProjectController {
throw new NotFoundException('Project not found.')
}
- this.projectService.allowedToView(project, userId, body.passwordHash)
+ try {
+ this.projectService.allowedToView(project, userId, body.passwordHash)
+ } catch {
+ return false
+ }
return true
}