Skip to content

Commit 40b58e5

Browse files
committed
Remove userPassword property from inetOrgPerson DTO and schema
1 parent 2b7c1cf commit 40b58e5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/management/identities/_dto/_parts/inetOrgPerson.dto.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ export class inetOrgPersonCreateDto {
9292
@IsOptional()
9393
public userCertificate?: string;
9494

95-
@IsString()
96-
@ApiProperty({ required: false })
97-
@IsOptional()
98-
public userPassword?: string;
95+
// @IsString()
96+
// @ApiProperty({ required: false })
97+
// @IsOptional()
98+
// public userPassword?: string;
9999

100100
@IsString()
101101
@ApiProperty({ required: false })

src/management/identities/_schemas/_parts/inetOrgPerson.part.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ export class inetOrgPerson extends Document {
7575
@Prop({ type: String, default: null })
7676
public userCertificate?: string;
7777

78-
@Prop({ type: String, default: null })
79-
public userPassword?: string;
78+
// @Prop({ type: String, default: null })
79+
// public userPassword?: string;
8080
}
8181

8282
export const inetOrgPersonSchema = SchemaFactory.createForClass(inetOrgPerson).index(

0 commit comments

Comments
 (0)