forgejo-federation/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 ee95d3e8dc9e9fff4fa66a5111e4d3930280e033.
2022-04-29 15:38:11 -04:00
..
source Respect DefaultUserIsRestricted system default when creating new user (#19310) 2022-04-29 15:38:11 -04:00
auth.go Remove dependent on session auth for api/v1 routers (#19321) 2022-04-08 06:22:10 +02:00
auth_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
basic.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
group.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
interface.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
oauth2.go Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
reverseproxy.go Respect DefaultUserIsRestricted system default when creating new user (#19310) 2022-04-29 15:38:11 -04:00
session.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
signin.go Restore user autoregistration with email addresses (#19261) 2022-03-31 15:20:25 +02:00
source.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
sspi_windows.go Respect DefaultUserIsRestricted system default when creating new user (#19310) 2022-04-29 15:38:11 -04:00
sync.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00