New users created manually

Is it possible to manually create new application users and default them to a dummy password?

Yes, by manually adding rows to the Users table and clicking on the Reset password item to enter a new password:
image

1 Like

Perfect!!! Thanks for your prompt response!

I got one more question…
If I am migrating a group of users from a legacy application into an Anvil application, would it be possible to import a group of users (ex: 100 users) with a default password to avoid updating one by one?

Thanks
Moises

I would create an uplink script that adds rows to the Users table.

An uplink script can have access to any table as any server module. It’s slower because every row you add you have one roundtrip, while a server module runs on the server, but it’s more flexible, because you can debug it for example from PyCharm.

If I remember there is a tutorial that shows how to create a custom registration form. That tutorial should show how to add a row from code, including how to set the password… maybe.

1 Like

Thanks for your help. I will research on the uplink option.

Thanks

You can create users programmatically

anvil.users.signup_with_email(email, password, [remember=False])