1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 09:24:25 +00:00
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310)
* 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 ee95d3e8dc9e9fff4fa66a5111e4d3930280e033.
2022-04-29 15:38:11 -04:00
..
2020-08-24 11:48:15 -04:00
2022-03-30 16:42:47 +08:00
2022-01-10 17:32:37 +08:00
2022-03-30 16:42:47 +08:00
2021-06-17 18:04:10 +02:00
2021-10-25 11:43:40 +08:00
2021-06-29 16:28:38 +02:00
2020-03-02 00:05:44 +02:00