I have my users stored in CSV with md5 passwords. Is there a way i could use those passwords in amember? I tried to import but passwords didnt work. Then i tried to manually change the "pass" value in database to correct hash. Also didnt work.
Hmm...i have an idea. Maybe i can import those md5 passwords in a "normal" way and then just change the validation code(for login). I would add an additional OR statement for validation where i would md5 code the password before i check it with amember. Would this work? How could i do that? Is there a hook to do this?
Yes this would work. You would need to modify /amember/application/default/models/User.php function checkPassword($pass) We also plan to add such fnctionality into the core : http://bt.amember.com/issues/604