Hi, I need to upload 2000 users who already have predefined passwords . How can I do it if "Users import" doesn't allow me to upload passwords? Thanks
Versión osTicket v1.15.1 (fe1d1f8) Software del Servidor Web Apache Versión MySQL 5.7.36 Versión PHP 7.3.2
The only ways that I can think of to do this is:
Option 1 Upload the users. User LDAP/AD plugin and manage your users in your ldap/ad server.
Option 2 Upload the users. Write a script to set all their passwords to whatever in the database.
@victorino
I would like to add to @ntozier's Option 2 specifically the script part. When writing the script you will need to encrypt the passwords before adding them to the database. You can accomplish this by doing something like:
$password = password_hash("user-password", PASSWORD_BCRYPT, ['cost' => 8]);;
Cheers.
I'll work on your tips. Grazie!