We are migrating users from a e-commerce site to a new craft commerce 2.x site.
Apparently it's a little too confusing for our customers to use the "forgot password" link to obtain a new password.
So our idea was to send them an email with their username and a link where they can directly set their password.
e.g. "user1", "https://mysite.com/actions/users/set-password?code=qwaZDk6mSa0tbnLBx8U4WkTnTBclK1ZZ&id=779e05ca-5c39-4f66-a56c-9a431bd0b355"
Is it possible to obtain these links programmatically.
We have about 800 users, so copy/pasting them would be very tedious.
any hints?
Cheers
Stefan