Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit 4a15722

Browse files
segevfinertechknowlogick
authored andcommitted
Increase Username MaxSize 35 -> 40 (#149)
Signed-off-by: Segev Finer <[email protected]>
1 parent 422568a commit 4a15722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitea/admin_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type CreateUserOption struct {
1616
SourceID int64 `json:"source_id"`
1717
LoginName string `json:"login_name"`
1818
// required: true
19-
Username string `json:"username" binding:"Required;AlphaDashDot;MaxSize(35)"`
19+
Username string `json:"username" binding:"Required;AlphaDashDot;MaxSize(40)"`
2020
FullName string `json:"full_name" binding:"MaxSize(100)"`
2121
// required: true
2222
// swagger:strfmt email

0 commit comments

Comments
 (0)