Closed eugenesimakin closed 11 months ago
Note: The unique property is already enforced. Need to create good UX.
@Column(name = "username", nullable = false, unique = true)
I noticed that. But I did it the same way as email validation - with conditional check in Controller. If you assume something else here, please tell me. Maybe I'll learn some new stuff.
The username as a part of public user url should be unique when provided on registration.