Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Vaultwarden Admin page error messages #4869

Merged
merged 1 commit into from
Aug 18, 2024

Conversation

BlackDex
Copy link
Collaborator

Since the change to camelCase variables the error messages in the Vaultwarden Admin were not shown correctly anymore.

This PR fixes this by changing the case of the json key's. Also updated the save and delete of the config to provide a more descriptive error instead of only Io or which ever other error might occure.

Fixes #4834

@BlackDex BlackDex requested a review from dani-garcia August 18, 2024 14:30
src/api/admin.rs Outdated Show resolved Hide resolved
Since the change to camelCase variables the error messages in the
Vaultwarden Admin were not shown correctly anymore.

This PR fixes this by changing the case of the json key's.
Also updated the save and delete of the config to provide a more
descriptive error instead of only `Io` or which ever other error might
occure.

Fixes dani-garcia#4834
@BlackDex BlackDex force-pushed the fix-admin-error-messages branch from 5188965 to e190648 Compare August 18, 2024 16:18
@dani-garcia dani-garcia merged commit 669b9db into dani-garcia:main Aug 18, 2024
5 checks passed
@BlackDex BlackDex deleted the fix-admin-error-messages branch August 18, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bad request if config is not read/writeable
3 participants