Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00

Added Full Name to CreateUser api call (#3333)

This commit is contained in:
Richard Mahn 2016-07-26 12:43:06 -06:00 committed by 无闻
parent 29ccf047d8
commit 0402c803c6

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,