fix: a user register bug
This commit is contained in:
parent
fe00d39bc1
commit
437e2c602a
@ -158,7 +158,7 @@ func (this *UserController) Register(writer http.ResponseWriter, request *http.R
|
|||||||
Role: USER_ROLE_USER,
|
Role: USER_ROLE_USER,
|
||||||
Username: username,
|
Username: username,
|
||||||
Password: util.GetBcrypt(password),
|
Password: util.GetBcrypt(password),
|
||||||
SizeLimit: preference.DefaultTotalSizeLimit,
|
TotalSizeLimit: preference.DefaultTotalSizeLimit,
|
||||||
Status: USER_STATUS_OK,
|
Status: USER_STATUS_OK,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user