Skip to content

Commit

Permalink
Update src/PinguApps.Appwrite.Shared/Requests/Validators/CreatePhoneT…
Browse files Browse the repository at this point in the history
…okenRequestValidator.cs

Co-authored-by: codefactor-io[bot] <47775046+codefactor-io[bot]@users.noreply.github.com>
  • Loading branch information
pingu2k4 and codefactor-io[bot] authored Sep 23, 2024
1 parent 83d2528 commit 5b9f3d9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ public class CreatePhoneTokenRequestValidator : AbstractValidator<CreatePhoneTok
{
public CreatePhoneTokenRequestValidator()
{

RuleFor(request => request.UserId)
.NotEmpty().WithMessage("User ID must not be empty.")
.Matches("^[a-zA-Z0-9][a-zA-Z0-9._-]{0,35}$").WithMessage("User ID must be alphanumeric and can include periods, hyphens, and underscores. It cannot start with a special character and must be at most 36 characters long.");
Expand Down

0 comments on commit 5b9f3d9

Please sign in to comment.