mirror of
1
Fork 0
forgejo/routers/api/v1/admin
Bo-Yi Wu 14ffdf6173
chore(api): support ignore password if login source type is LDAP for creating user API (#28491)
- Modify the `Password` field in `CreateUserOption` struct to remove the
`Required` tag
- Update the `v1_json.tmpl` template to include the `email` field and
remove the `password` field

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-12-19 02:32:45 +00:00
..
adopt.go Move createrepository from module to service layer (#26927) 2023-09-06 12:08:51 +00:00
cron.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
email.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
hooks.go Return `404` in the API if the requested webhooks were not found (#24823) 2023-05-21 10:54:28 +08:00
org.go Even more `db.DefaultContext` refactor (#27352) 2023-10-03 10:30:41 +00:00
repo.go Handle missing `README` in create repos API (#23387) 2023-03-13 16:55:30 -05:00
user.go chore(api): support ignore password if login source type is LDAP for creating user API (#28491) 2023-12-19 02:32:45 +00:00