Increase Username MaxSize 35 -> 40 (#149)
Signed-off-by: Segev Finer <segev@codeocean.com>
This commit is contained in:
parent
422568ae32
commit
4a15722a62
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ type CreateUserOption struct {
|
|||
SourceID int64 `json:"source_id"`
|
||||
LoginName string `json:"login_name"`
|
||||
// required: true
|
||||
Username string `json:"username" binding:"Required;AlphaDashDot;MaxSize(35)"`
|
||||
Username string `json:"username" binding:"Required;AlphaDashDot;MaxSize(40)"`
|
||||
FullName string `json:"full_name" binding:"MaxSize(100)"`
|
||||
// required: true
|
||||
// swagger:strfmt email
|
||||
|
|
Loading…
Reference in a new issue