Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

chore: making demo users unique

Andrejd007ab1c4ae9
diff --git a/apps/api/src/utils/create-demo-user.ts b/apps/api/src/utils/create-demo-user.ts
index 43152bdec..f3e5d9375 100644
--- a/apps/api/src/utils/create-demo-user.ts
+++ b/apps/api/src/utils/create-demo-user.ts
@@ -8,7 +8,7 @@ import { generateDemoName } from "./generate-demo-name";
export async function createDemoUser() {
const demoId = createId();
const demoName = generateDemoName();
- const demoEmail = `${demoName}@kaneo.app`;
+ const demoEmail = `${demoName}-${demoId}@kaneo.app`;
const hashedPassword = await Bun.password.hash("demo", {
algorithm: "bcrypt",
diff --git a/bun.lockb b/bun.lockb
index 80682b8c3..e708b96d1 100755
Binary files a/bun.lockb and b/bun.lockb differ