[PR #1663] [MERGED] admin: Return newly-created user in invite_user #2989

Closed
opened 2026-03-03 09:09:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/1663
Author: @dongcarl
Created: 5/3/2021
Status: Merged
Merged: 5/12/2021
Merged by: @dani-garcia

Base: mainHead: 2021-05-invite_user-return


📝 Commits (2)

  • 5f458b2 admin: Return newly-created user in invite_user
  • cccd826 admin: Add /users/ route

📊 Changes

1 file changed (+15 additions, -5 deletions)

View changed files

📝 src/api/admin.rs (+15 -5)

📄 Description

Instead of having the caller dig through /admin/users for the right one,
just return the user upon creation.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/1663 **Author:** [@dongcarl](https://github.com/dongcarl) **Created:** 5/3/2021 **Status:** ✅ Merged **Merged:** 5/12/2021 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `2021-05-invite_user-return` --- ### 📝 Commits (2) - [`5f458b2`](https://github.com/dani-garcia/vaultwarden/commit/5f458b288a7a7892f075087348ebcd3dab9a771b) admin: Return newly-created user in invite_user - [`cccd826`](https://github.com/dani-garcia/vaultwarden/commit/cccd8262fa78dabc8e1949c4dcb490b99fb0cd84) admin: Add /users/<uuid> route ### 📊 Changes **1 file changed** (+15 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/api/admin.rs` (+15 -5) </details> ### 📄 Description ``` Instead of having the caller dig through /admin/users for the right one, just return the user upon creation. ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 09:09:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#2989
No description provided.