WelcometoMyGarden / welcometomygarden

Web app of Welcome To My Garden, a not-for-profit network of citizens offering free camping spots in their gardens to slow travellers.
https://welcometomygarden.org
GNU Affero General Public License v3.0
107 stars 16 forks source link

Carry over /sign-in email & password to /register #292

Closed th0rgall closed 1 year ago

th0rgall commented 1 year ago

Currently, when you don't have an account, and you click "Sign in", you might start typing in your email & desired password already, try to "Sign in", only to get an error that you need to create an account first.

When clicking the Register link below it, your registration form starts empty. I would be better if your password is carried over from the mistaken sign-in.

This could be achieved by setting values to a Svelte store (preferable). Query parameters are not advisable, especially for the password.

th0rgall commented 1 year ago

Done here: https://github.com/WelcometoMyGarden/welcometomygarden/commit/a9a4794f38789a35a21644195046a6c2e91b6c26