Skip to content

Commit

Permalink
Merge pull request #123 from MichiBaum/develop
Browse files Browse the repository at this point in the history
BUGFIX: Remove validation annotations from RegisterDto fields
  • Loading branch information
MichiBaum authored Dec 23, 2024
2 parents 63c43a3 + 91e4cbc commit 09ad6f9
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
package com.michibaum.authentication_service.authentication

import jakarta.validation.constraints.Email
import jakarta.validation.constraints.NotBlank

data class RegisterDto(
@NotBlank
val username: String,
@NotBlank
@Email
val email: String,
@NotBlank
val password: String
)

0 comments on commit 09ad6f9

Please sign in to comment.