chore: apply suggestions from code review

Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
This commit is contained in:
JianBo He 2024-01-29 09:21:52 +08:00 committed by JianBo He
parent 4c1f1d97cd
commit bcbd48ae58
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
Enhanced the `authentication/:id/import_users` interface for a more user-friendly user import feature:
- Add new query parameter `type=plain` to support importing users with plaintext passwords,
not just hashed ciphertext passwords.
- Support `content-type: application/json` to accept HTTP Body in JSON format, not just file.
- Add new parameter `?type=plain` to support importing users with plaintext passwords in extension to the current solution which only supports password hash.
- Support `content-type: application/json` to accept HTTP Body in JSON format in extension to the current solution which only supports `multipart/form-data` for csv format.