Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate all needed fields for client API login
During the client API login we need to have a `device_identifier`, `device_name` and `device_type`. When these were not provided Vaultwarden would panic. This PR add checks for these fields and makes sure it returns a better error message instead of causing a panic.
- Loading branch information