UsersManager.addUser - Add user with MD5 Hash

hey,

i would like to add User with Username, Email and a already existing MD5 hash from a Database. Is this possible? I only get the login workin when i Post the Userdata with cleartext password.

please help!

Hi,

I don’t think this is possible. Matomo doesn’t store the password, but the (bcrypt) hash. But as you only have the md5-hash you don’t know the password to generate a bcrypt hash