cleaned logs and changed username length for csrf-uuid

This commit is contained in:
Rene Zubcevic
2019-10-14 21:49:44 +02:00
committed by Nanne Baars
parent 6dc679e7b8
commit 1f00d461a8
2 changed files with 2 additions and 5 deletions

View File

@ -16,7 +16,7 @@ import javax.validation.constraints.Size;
public class UserForm {
@NotNull
@Size(min=6, max=40)
@Size(min=6, max=45)
@Pattern(regexp = "[a-z0-9-]*", message = "can only contain lowercase letters, digits, and -")
private String username;
@NotNull