What I’m trying to do:
We’re trying to improve our user registration flow and I’m having some trouble with the following:
We’d like to add a row in the user table before one of our users has registered (e.g by adding a new row and manually entering an email address) and enabling their account < before they have created their password. We’d then like them to be able to register and immediately login in.
- Manually add row for name@domain.com
- Enable that row
- Tell user that their account has been enabled and they can now register and login
What I’ve tried and what’s not working:
- Manually add a row for name@domain.com
- Enable that row
- When user registers, they get notification saying ‘This user already exists’
- User must create a new password to be able to login
Is there a good way to do what we are doing while using Anvil’s login function?