0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-18 04:54:18 +01:00
gitea/services/auth
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
..
source
auth_test.go
auth.go
basic.go
group.go
interface.go
oauth2.go
reverseproxy.go
session.go
signin.go
source.go
sspi_windows.go
sync.go