Browse Source

Added Full Name to CreateUser api call (#3333)

for-closed-social
Richard Mahn 8 years ago
committed by 无闻
parent
commit
0402c803c6
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/api/v1/admin/user.go

+ 1
- 0
routers/api/v1/admin/user.go View File

@ -39,6 +39,7 @@ func parseLoginSource(ctx *context.APIContext, u *models.User, sourceID int64, l
func CreateUser(ctx *context.APIContext, form api.CreateUserOption) {
u := &models.User{
Name: form.Username,
FullName: form.FullName,
Email: form.Email,
Passwd: form.Password,
IsActive: true,

Loading…
Cancel
Save