This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Added Full Name to CreateUser api call (
#3333
)
for-closed-social
Richard Mahn
8 years ago
committed by
无闻
parent
29ccf047d8
commit
0402c803c6
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
,
Write
Preview
Loading…
Cancel
Save