Skip to content

The open alternative to Salesforce, designed for AI.

Verify seed users and change AppleCar password (#11825)

Félix Malfait8c3a2d864089
diff --git a/packages/twenty-e2e-testing/.env.example b/packages/twenty-e2e-testing/.env.example
index e64b073c536..9ccee547533 100644
--- a/packages/twenty-e2e-testing/.env.example
+++ b/packages/twenty-e2e-testing/.env.example
@@ -2,5 +2,5 @@
FRONTEND_BASE_URL=http://localhost:3001
BACKEND_BASE_URL=http://localhost:3000
-DEFAULT_PASSWORD=Applecar2025
WEBSITE_URL=https://twenty.com
\ No newline at end of file
diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/hooks/__tests__/useSignInUpForm.test.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/hooks/__tests__/useSignInUpForm.test.tsx
index 9c626b43d5b..5b8669a5873 100644
--- a/packages/twenty-front/src/modules/auth/sign-in-up/hooks/__tests__/useSignInUpForm.test.tsx
+++ b/packages/twenty-front/src/modules/auth/sign-in-up/hooks/__tests__/useSignInUpForm.test.tsx
@@ -1,9 +1,9 @@
-import { RecoilRoot, useSetRecoilState } from 'recoil';
-import { renderHook } from '@testing-library/react';
import { useSignInUpForm } from '@/auth/sign-in-up/hooks/useSignInUpForm';
+import { isDeveloperDefaultSignInPrefilledState } from '@/client-config/states/isDeveloperDefaultSignInPrefilledState';
+import { renderHook } from '@testing-library/react';
import { ReactNode } from 'react';
import { MemoryRouter } from 'react-router-dom';
-import { isDeveloperDefaultSignInPrefilledState } from '@/client-config/states/isDeveloperDefaultSignInPrefilledState';
+import { RecoilRoot, useSetRecoilState } from 'recoil';
describe('useSignInUpForm', () => {
beforeEach(() => {
@@ -61,7 +61,7 @@ describe('useSignInUpForm', () => {
expect(result.current.form.getValues()).toEqual({
exist: false,
- password: 'Applecar2025',
+ password: '[email protected]',
captchaToken: '',
});
});
diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/hooks/useSignInUpForm.ts b/packages/twenty-front/src/modules/auth/sign-in-up/hooks/useSignInUpForm.ts
index ace1cbd639c..42fe9d7b0d3 100644
--- a/packages/twenty-front/src/modules/auth/sign-in-up/hooks/useSignInUpForm.ts
+++ b/packages/twenty-front/src/modules/auth/sign-in-up/hooks/useSignInUpForm.ts
@@ -59,7 +59,7 @@ export const useSignInUpForm = () => {
if (isDeveloperDefaultSignInPrefilled === true) {
form.setValue('email', prefilledEmail ?? '[email protected]');
- form.setValue('password', 'Applecar2025');
+ form.setValue('password', '[email protected]');
}
}, [
form,
diff --git a/packages/twenty-server/src/database/typeorm-seeds/core/demo/users.ts b/packages/twenty-server/src/database/typeorm-seeds/core/demo/users.ts
index fcc0ede7517..8ce1c5de1a1 100644
--- a/packages/twenty-server/src/database/typeorm-seeds/core/demo/users.ts
+++ b/packages/twenty-server/src/database/typeorm-seeds/core/demo/users.ts
@@ -23,6 +23,7 @@ export const seedUsers = async (
'lastName',
'email',
'passwordHash',
+ 'isEmailVerified',
])
.orIgnore()
.values([
@@ -32,7 +33,8 @@ export const seedUsers = async (
lastName: 'A',
passwordHash:
- '$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
+ '$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // [email protected]
+ isEmailVerified: true,
},
{
id: DEMO_SEED_USER_IDS.HUGO,
@@ -40,7 +42,8 @@ export const seedUsers = async (
lastName: 'I',
passwordHash:
- '$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
+ '$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // [email protected]
+ isEmailVerified: true,
},
{
id: DEMO_SEED_USER_IDS.TIM,
@@ -48,7 +51,8 @@ export const seedUsers = async (
lastName: 'Apple',
passwordHash:
- '$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
+ '$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // [email protected]
+ isEmailVerified: true,
},
])
.execute();
diff --git a/packages/twenty-server/src/database/typeorm-seeds/core/users.ts b/packages/twenty-server/src/database/typeorm-seeds/core/users.ts
index 5e687bc87ec..7c47a0e145d 100644
--- a/packages/twenty-server/src/database/typeorm-seeds/core/users.ts
+++ b/packages/twenty-server/src/database/typeorm-seeds/core/users.ts
@@ -23,6 +23,7 @@ export const seedUsers = async (
'passwordHash',
'canImpersonate',
'canAccessFullAdminPanel',
+ 'isEmailVerified',
])
.orIgnore()
.values([
@@ -32,9 +33,10 @@ export const seedUsers = async (
lastName: 'Apple',
passwordHash:
- '$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
+ '$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // [email protected]
canImpersonate: true,
canAccessFullAdminPanel: true,
+ isEmailVerified: true,
},
{
id: DEV_SEED_USER_IDS.JONY,
@@ -42,9 +44,10 @@ export const seedUsers = async (
lastName: 'Ive',
passwordHash:
- '$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
+ '$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // [email protected]
canImpersonate: true,
canAccessFullAdminPanel: true,
+ isEmailVerified: true,
},
{
id: DEV_SEED_USER_IDS.PHIL,
@@ -52,9 +55,10 @@ export const seedUsers = async (
lastName: 'Schiler',
passwordHash:
- '$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
+ '$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // [email protected]
canImpersonate: true,
canAccessFullAdminPanel: true,
+ isEmailVerified: true,
},
])
.execute();
diff --git a/packages/twenty-server/test/integration/graphql/suites/auth.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/auth.integration-spec.ts
index 634a3ba34e1..a8b9ac28a8d 100644
--- a/packages/twenty-server/test/integration/graphql/suites/auth.integration-spec.ts
+++ b/packages/twenty-server/test/integration/graphql/suites/auth.integration-spec.ts
@@ -13,7 +13,7 @@ ORIGIN.hostname =
const auth = {
- password: 'Applecar2025',
+ password: '[email protected]',
};
describe('AuthResolve (integration)', () => {
diff --git a/packages/twenty-website/src/content/developers/local-setup.mdx b/packages/twenty-website/src/content/developers/local-setup.mdx
index 08b443742ff..742ce52285f 100644
--- a/packages/twenty-website/src/content/developers/local-setup.mdx
+++ b/packages/twenty-website/src/content/developers/local-setup.mdx
@@ -251,7 +251,7 @@ npx nx start
**Frontend**
Twenty's frontend will be running at [http://localhost:3001](http://localhost:3001).
-You can log in using the default demo account: `[email protected]` (password: `Applecar2025`)
+You can log in using the default demo account: `[email protected]` (password: `[email protected]`)
**Backend**