netlify / gotrue

An SWT based API for managing users and issuing SWT tokens.
https://www.gotrueapi.org
MIT License
3.78k stars 279 forks source link

Allow password update on unconfirmed signups #351

Closed bombillazo closed 1 year ago

bombillazo commented 1 year ago

- Do you want to request a feature or report a bug?

Feature

- What is the current behavior?

If a user was created but has not been confirmed in the database and a signup request is made, the existing user's password is not updated.

- If the current behavior is a bug, please provide the steps to reproduce.

N/A

- What is the expected behavior?

If the user exists and is still not yet confirmed and a new signup request is received for the existing email, it would be good to allow the password to be set with the data received in the payload.

- Please mention your Go version, and operating system version.

N/A