mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-17 09:22:30 -05:00
[PR #1682] [MERGED] admin: More granular HTTP return codes for user-related endpoints #22522
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/1682
Author: @dongcarl
Created: 5/9/2021
Status: ✅ Merged
Merged: 5/12/2021
Merged by: @dani-garcia
Base:
main← Head:2021-05-admin-granular-http-codes📝 Commits (4)
5f458b2admin: Return newly-created user in invite_usercccd826admin: Add /users/ route68e5d95admin: Specifically return 404 for user not founde60bdc7admin: Make invite_user error codes more specific📊 Changes
2 files changed (+41 additions, -18 deletions)
View changed files
📝
src/api/admin.rs(+39 -16)📝
src/error.rs(+2 -2)📄 Description
Based on: #1663
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.