mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-25 03:11:09 +03:00
Unable to change email address #548
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 @yegle on GitHub (Jan 1, 2020).
Subject of the issue
It looks like I'm unable to change the email address from the settings page.
The request payload looks like this:
The response payload looks like this:
Server side log looks like this:
Your environment
Steps to reproduce
Change email address from the web under settings
Expected behaviour
The email address changed.
Actual behaviour
An error appear in the web:
An error has occurred.
Email cannot be changed to this address
@WinkelB commented on GitHub (Jan 3, 2020):
Having the Same Problem.
@aneisch commented on GitHub (Jan 3, 2020):
Seeing this as well. It looks like this is due to the following line:
https://github.com/dani-garcia/bitwarden_rs/blob/8d1b72b9512b90775e671b7ba08cd552a0aabd13/src/api/core/accounts.rs#L374
If I allow signups I'm then able to change an email address.
@tomuta commented on GitHub (Jan 6, 2020):
I think this might be a problem in
can_signup_user(). I believe the function should returntrueif the whitelist is empty. Right now it only returnstrueif a match for the domain is found.@dani-garcia commented on GitHub (Jan 28, 2020):
This should be fixed now in the latest master, thanks to @tomuta