Skip to content

allow update method to only update email address #57

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

Merged
merged 8 commits into from
Jan 24, 2023

Conversation

phil-hudson
Copy link

usecase : user wants to change email only.

this change prevents a case where sending empty string to the server will cause the request to fail

What kind of change does this PR introduce?

Bug fix, feature, docs update, ...

What is the current behavior?

Please link any relevant issues here.

What is the new behavior?

Feel free to include screenshots if it includes visual changes.

Additional context

Add any other context or screenshots.

fenix-hub and others added 4 commits November 13, 2022 16:14
usecase : user wants to change email only.

this change prevents a case where sending empty string to the server will cause the request to fail
@phil-hudson phil-hudson changed the base branch from main to 4.x January 24, 2023 12:23
@phil-hudson phil-hudson changed the title allow update method to only update password allow update method to only update email address Jan 24, 2023
@fenix-hub
Copy link
Collaborator

Isn't an empty string ignored? Do supabase accepts "" as a new password value?

@phil-hudson
Copy link
Author

phil-hudson commented Jan 24, 2023 via email

@fenix-hub
Copy link
Collaborator

Agreed. Let's have different methods

@fenix-hub fenix-hub merged commit e5e8b0e into supabase-community:4.x Jan 24, 2023
@fenix-hub
Copy link
Collaborator

Thanks again! :)

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.

3 participants