Skip to content

Commit

Permalink
Merge branch 'master' into bugfix/CCN-187_fix-translation
Browse files Browse the repository at this point in the history
  • Loading branch information
ddepta committed Mar 23, 2023
2 parents 4e779b3 + 8b3319d commit d2f508f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions apps/frontend/src/app/auth/authentication/auth.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ <h1 *ngIf="!isSignup">{{ 'LOGIN' | translate }}</h1>
matInput
name="firstname"
[(ngModel)]="firstname"
required
autocomplete="given-name"
/>
<mat-error
Expand All @@ -44,6 +45,7 @@ <h1 *ngIf="!isSignup">{{ 'LOGIN' | translate }}</h1>
matInput
name="lastname"
[(ngModel)]="lastname"
required
autocomplete="family-name"
/>
<mat-error
Expand Down
4 changes: 2 additions & 2 deletions apps/gateway/src/auth/auth.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ export class SignupUserDto {
@IsEmail()
email: string;

@IsOptional()
@IsNotEmpty()
firstname: string;

@IsOptional()
@IsNotEmpty()
lastname: string;

@IsNotEmpty()
Expand Down

0 comments on commit d2f508f

Please sign in to comment.