5aebc4f000
* Apply DefaultUserIsRestricted in CreateUser
* Enforce system defaults in CreateUser
Allow for overwrites with CreateUserOverwriteOptions
* Fix compilation errors
* Add "restricted" option to create user command
* Add "restricted" option to create user admin api
* Respect default setting.Service.RegisterEmailConfirm and setting.Service.RegisterManualConfirm where needed
* Revert "Respect default setting.Service.RegisterEmailConfirm and setting.Service.RegisterManualConfirm where needed"
This reverts commit
|
||
---|---|---|
.. | ||
admin.go | ||
admin_test.go | ||
auths.go | ||
emails.go | ||
hooks.go | ||
main_test.go | ||
notice.go | ||
orgs.go | ||
packages.go | ||
repos.go | ||
users.go | ||
users_test.go |