Hi!
I'd like to ensure the user sends up a valid password when updating their email. I've followed the reconfirmation section of your README, but that suggests (requires?) that we use user.update_with_email (as seen in dummy project mutation), but I'd like to use user.update_with_password since that offers the validation I need.
Wondering if you have any solutions to this?
Thank you!
PS: Currently using user.valid_password? before user.update_with_email, which works fine. Happy to close this if you think its the best way.
Hi!
I'd like to ensure the user sends up a valid password when updating their email. I've followed the reconfirmation section of your README, but that suggests (requires?) that we use
user.update_with_email(as seen in dummy project mutation), but I'd like to useuser.update_with_passwordsince that offers the validation I need.Wondering if you have any solutions to this?
Thank you!
PS: Currently using
user.valid_password?beforeuser.update_with_email, which works fine. Happy to close this if you think its the best way.