Welcome Guest, Not a member yet? Register   Sign In
How to add users in Myth/Auth in batches
#1
Smile 
(This post was last modified: 05-03-2022, 03:59 AM by yoshi.)

Thanks for everything.
I was able to add login functionality to an existing app using Myth/Auth, but the next step is to add a large number of dummy users for development. For example, creating a school management system, a school teacher and a school student (e.g. [email protected]).

On the db, if I copy password_hash, activate_hash, active to the users I added with seeder, they can't seem to log in (great in production!). .

Is there any way to add each user in bulk (dummy users can log in) with seeder or other software for development?

Alternatively, it might be possible to add a non-activated user in seeder and add a record to the school_users table using only the id as a foreign key.
Reply


Messages In This Thread
How to add users in Myth/Auth in batches - by yoshi - 05-02-2022, 09:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB