mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 17:23:04 +03:00
Password hint: An error has occurred. But does show. #1342
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?
Originally created by @Robin-Sch on GitHub.
Subject of the issue
When requesting your password hint it says
An error has occurred..But under that it does actually show the hint
Deployment environment
vaultwarden version: latest
Install method: docker
Clients used: web vault
Steps to reproduce
Click
Get master password hintwhen trying to loginEnter your email
Expected behaviour
It should show your password hint
Actual behaviour
It shows your password hint, in an error box
Troubleshooting data
@jjlin commented on GitHub:
It's not an error, but Bitwarden doesn't support this feature natively, so this is a Vaultwarden-specific hack that uses an error message to display the data. That's just the only way to do it.
#1848 will disable this setting by default. People who want password hints should just set up SMTP service and use that instead, anyway.
@pepa65 commented on GitHub:
Yes, please disable by default!
@jjlin commented on GitHub:
Normally, BItwarden only provides the password hint via email. This is a Vaultwarden-specific feature that allows the hint to be provided when the user hasn't set up email service:
3968bc8016/src/config.rs (L391-L393)Though personally, I think this option should've been disabled by default.
@BlackDex commented on GitHub:
Closing because PR #1848 has been merged
@Robin-Sch commented on GitHub:
Yeah, but the current way is that it shows as "An error has occurred", and as "error" the password hint. While it's not an error?