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!

fix: max project password length mismatch

Blue Mouse0ed2da5f2b37
diff --git a/backend/apps/cloud/src/auth/dtos/register-invitation.dto.ts b/backend/apps/cloud/src/auth/dtos/register-invitation.dto.ts
index fffaf03f2..9f244deee 100644
--- a/backend/apps/cloud/src/auth/dtos/register-invitation.dto.ts
+++ b/backend/apps/cloud/src/auth/dtos/register-invitation.dto.ts
@@ -31,7 +31,7 @@ export class RegisterInvitationRequestDto {
maxLength: 72,
minLength: 8,
})
- @MaxLength(50, { message: 'Max length is $constraint1 characters' })
+ @MaxLength(72, { message: 'Max length is $constraint1 characters' })
@MinLength(8, { message: 'Min length is $constraint1 characters' })
public readonly password: string
diff --git a/backend/apps/cloud/src/auth/dtos/register.dto.ts b/backend/apps/cloud/src/auth/dtos/register.dto.ts
index 4684b580b..3b1ecd7b2 100644
--- a/backend/apps/cloud/src/auth/dtos/register.dto.ts
+++ b/backend/apps/cloud/src/auth/dtos/register.dto.ts
@@ -23,7 +23,7 @@ export class RegisterRequestDto {
maxLength: 72,
minLength: 8,
})
- @MaxLength(50, { message: 'Max length is $constraint1 characters' })
+ @MaxLength(72, { message: 'Max length is $constraint1 characters' })
@MinLength(8, { message: 'Min length is $constraint1 characters' })
public readonly password: string
diff --git a/backend/apps/cloud/src/auth/dtos/request-change-email.dto.ts b/backend/apps/cloud/src/auth/dtos/request-change-email.dto.ts
index 6c1bde5db..b280e38a7 100644
--- a/backend/apps/cloud/src/auth/dtos/request-change-email.dto.ts
+++ b/backend/apps/cloud/src/auth/dtos/request-change-email.dto.ts
@@ -17,7 +17,7 @@ export class RequestChangeEmailDto {
maxLength: 72,
minLength: 8,
})
- @MaxLength(50, { message: 'Max length is $constraint1 characters' })
+ @MaxLength(72, { message: 'Max length is $constraint1 characters' })
@MinLength(8, { message: 'Min length is $constraint1 characters' })
public readonly password: string
}
diff --git a/backend/apps/cloud/src/auth/dtos/reset-password.dto.ts b/backend/apps/cloud/src/auth/dtos/reset-password.dto.ts
index 14df63e68..0e7746bb4 100644
--- a/backend/apps/cloud/src/auth/dtos/reset-password.dto.ts
+++ b/backend/apps/cloud/src/auth/dtos/reset-password.dto.ts
@@ -8,7 +8,7 @@ export class ResetPasswordDto {
maxLength: 72,
minLength: 8,
})
- @MaxLength(50, { message: 'Max length is $constraint1 characters' })
+ @MaxLength(72, { message: 'Max length is $constraint1 characters' })
@MinLength(8, { message: 'Min length is $constraint1 characters' })
public readonly newPassword: string
}
diff --git a/backend/apps/community/src/auth/dtos/register.dto.ts b/backend/apps/community/src/auth/dtos/register.dto.ts
index 05c4d0e39..96c1d5b4f 100644
--- a/backend/apps/community/src/auth/dtos/register.dto.ts
+++ b/backend/apps/community/src/auth/dtos/register.dto.ts
@@ -23,7 +23,7 @@ export class RegisterRequestDto {
maxLength: 72,
minLength: 8,
})
- @MaxLength(50, { message: 'Max length is $constraint1 characters' })
+ @MaxLength(72, { message: 'Max length is $constraint1 characters' })
@MinLength(8, { message: 'Min length is $constraint1 characters' })
public readonly password: string
diff --git a/backend/apps/community/src/auth/dtos/request-change-email.dto.ts b/backend/apps/community/src/auth/dtos/request-change-email.dto.ts
index dc7e3ebd7..dd3e3df60 100644
--- a/backend/apps/community/src/auth/dtos/request-change-email.dto.ts
+++ b/backend/apps/community/src/auth/dtos/request-change-email.dto.ts
@@ -17,7 +17,7 @@ export class RequestChangeEmailDto {
maxLength: 72,
minLength: 8,
})
- @MaxLength(50, { message: 'Max length is $constraint1 characters' })
+ @MaxLength(72, { message: 'Max length is $constraint1 characters' })
@MinLength(8, { message: 'Min length is $constraint1 characters' })
public readonly password: string
}
diff --git a/backend/apps/community/src/auth/dtos/reset-password.dto.ts b/backend/apps/community/src/auth/dtos/reset-password.dto.ts
index 14df63e68..0e7746bb4 100644
--- a/backend/apps/community/src/auth/dtos/reset-password.dto.ts
+++ b/backend/apps/community/src/auth/dtos/reset-password.dto.ts
@@ -8,7 +8,7 @@ export class ResetPasswordDto {
maxLength: 72,
minLength: 8,
})
- @MaxLength(50, { message: 'Max length is $constraint1 characters' })
+ @MaxLength(72, { message: 'Max length is $constraint1 characters' })
@MinLength(8, { message: 'Min length is $constraint1 characters' })
public readonly newPassword: string
}