Generate a Mautic user password

Hello,



I found functions like:

passwordResetAction and resetPassword

But I’m looking to generate a Mautic user from an outside application (maybe directly via SQL).

How can I encrypt the password to store it in the correct form in the database?



Thanks,

Chris

Hello,

I found functions like:
passwordResetAction and resetPassword
But I’m looking to generate a Mautic user from an outside application (maybe directly via SQL).
How can I encrypt the password to store it in the correct form in the database?

Thanks,
Chris

For outside application you’ll basically want to bcrypt the password and store directly into the DB.

That was it - thank you very much :slight_smile: