I don’t want users to be able to sign up (only login), just email addresses that I have made in the Database is allowed. I would like to be able to set the passwords for the Users.
Someone told me to do this “when a user enters their email, you provide a random string to set as their password.” The question is how to do it? And can I create a field where the password will be saved in the database (is it a good idea)?
Hey Grace, so in the “sign the user up” and “log the user in” action steps, where it says password instead of tying that to an input you would just use “calculate formula<generate random string” and thats it no need to touch the database as bubble stores passwords
You could create a second password field in your database so you are essentially storing 2 copies of the password when the user signs up, but thats probably not a good because there are any number of ways to accidentally expose user data through an incorrect logic flow.
Well I think I did the same thing but I am not sure because when I am creating a new user and logging in with the new user that I created it is showing me that the password is incorrect.
You’re doing it all wrong. Once you create the user for someone else create another action called assign temporary password for the user. You don’t create a Password field. All accounts made on your app are kept private, no one can view the passwords.
Can I create something like a password but under a different name like “Passcode”? The passcode will not be hidden by Bubble so I can view them and change them.