forked from gitea/gitea
1
0
Fork 0
gitea/templates
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
..
admin Disable unnecessary GitHooks elements 2022-04-26 22:06:58 +01:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base By default force vertical tabs on mobile (#19486) 2022-04-26 16:31:58 -04:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2022-01-28 13:29:04 +02:00
mail Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
org Add RSS Feed buttons to Repo, User and Org pages (#19370) 2022-04-24 22:03:39 +02:00
package Add Helm Chart registry (#19406) 2022-04-19 12:55:35 -04:00
repo Mute link in diff header (#19556) 2022-04-29 17:39:27 +03:00
shared Add commit status popup to issuelist (#19375) 2022-04-26 23:40:01 +01:00
status Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
swagger Respect DefaultUserIsRestricted system default when creating new user (#19310) 2022-04-29 15:38:11 -04:00
user Add RSS Feed buttons to Repo, User and Org pages (#19370) 2022-04-24 22:03:39 +02:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00