0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 10:25:00 +01:00
gitea/services/auth/source
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 ee95d3e8dc.
2022-04-29 15:38:11 -04:00
..
db Increase Salt randomness (#18179) 2022-01-04 15:13:52 +00:00
ldap Respect DefaultUserIsRestricted system default when creating new user (#19310) 2022-04-29 15:38:11 -04:00
oauth2 Use ImagedProvider for gplus oauth2 provider (#18504) 2022-02-01 01:02:56 +01:00
pam Respect DefaultUserIsRestricted system default when creating new user (#19310) 2022-04-29 15:38:11 -04:00
smtp Respect DefaultUserIsRestricted system default when creating new user (#19310) 2022-04-29 15:38:11 -04:00
sspi Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00