removed e164 phone validation
This commit is contained in:
@@ -11,7 +11,7 @@ type User struct {
|
||||
DateOfBirth time.Time `gorm:"not null" json:"date_of_birth" validate:"required,age"`
|
||||
CreatedAt time.Time
|
||||
Salt *string `json:"-"`
|
||||
Phone string `json:"phone" validate:"omitempty,omitnil,e164"`
|
||||
Phone string `json:"phone" validate:"omitempty,omitnil"`
|
||||
Notes *string `json:"notes"`
|
||||
FirstName string `gorm:"not null" json:"first_name" validate:"required,alphaunicode"`
|
||||
Password string `json:"password"`
|
||||
|
||||
Reference in New Issue
Block a user