Hello I'm newbie ....
After a desperate search in all items:
https://moodle.org/mod/forum/discuss.php?d=76581
https://stackoverflow.com/questions/22863527/how-does-moodle-encrypts-the-password
https://moodle.org/mod/forum/discuss.php?d=235504#p1023177
https://moodle.org/mod/forum/discuss.php?d=233687#p1015697
I look for help:
i want to import users from an external Dbase (Mysqli and php7) into Moodle 3.6.1
My pasword_hashing is Blowfish (I suppose) -> $paswoord = password_hash($paswoord,PASSWORD_DEFAULT);
Example: test -> $2y$10$wtUJttanMpQw611t55GvfO8yUEwpD/4l.ihBwwxLnj5UksTXfaHJq
Which is, I suppose the correct form for Moodle 3.6.1
When I export the fields (username, paswoord, firstname and lastname) by the plugin and I try to login into Moodle this does not work.
Although the connection is OK. I tried with plain text and a normal pasword and so i mange to login into moodle and in the moodle Dbase (mdl_users i see then 'not cached'.
I tried MD5, Sha1 and one-way encryption .... nothing works.
What am I doing wrong?????
I want that the paswords stay hashed in my Dbase not in the dbase from moodle.
Thanx a lot !!!