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

"Change Email Address" requires a password, but not all users have one #3993

Open
1 of 4 tasks
rolodato opened this issue May 21, 2024 · 1 comment
Open
1 of 4 tasks
Labels
api Issue related to the REST API bug Something isn't working front-end Issue related to the React Front End Dashboard

Comments

@rolodato
Copy link
Member

How are you running Flagsmith

  • Self Hosted with Docker
  • Self Hosted with Kubernetes
  • SaaS at flagsmith.com
  • Some other way (add details in description below)

Describe the bug

In the account settings, we provide an option for users to change their email address, which requires a password to confirm the change. When using Google, GitHub or SSO for login, users do not have a Flagsmith password so this functionality cannot be used.

Steps To Reproduce

  1. Go to https://app.flagsmith.com/account as a GitHub, Google or SSO user
  2. Click on "Change Email Address"
  3. A password is prompted, but none exists

Expected behavior

Either disable this option for users without passwords, or provide some mechanism for users to actually change their email address.

Optionally, it would be nice to have some indication of the user's auth_type in this same setings menu, to remind the user of what they've used to log in in the past.

Screenshots

No response

@rolodato rolodato added the bug Something isn't working label May 21, 2024
@matthewelwell matthewelwell added front-end Issue related to the React Front End Dashboard api Issue related to the REST API labels Jun 11, 2024
@matthewelwell
Copy link
Contributor

Related PR for a similar change to delete account: #3693

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API bug Something isn't working front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

No branches or pull requests

2 participants