- Posts: 11
The password sent in import not log.
- André Figueiredo
- Topic Author
- Offline
- New Member
-
Less
More
12 years 5 months ago #1
by André Figueiredo
The password sent in import not log. was created by André Figueiredo
I have in 95% joomdle integration.
I have the following problem.
When I import users via csv in Moodle, I can not log in with the password sent in this import.
Note: if I am in moodle and update the user's same password, password it works normally.
Has anyone had a problem like this?
I have the following problem.
When I import users via csv in Moodle, I can not log in with the password sent in this import.
Note: if I am in moodle and update the user's same password, password it works normally.
Has anyone had a problem like this?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
12 years 5 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic The password sent in import not log.
Please Log in or Create an account to join the conversation.
- André Figueiredo
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
12 years 4 months ago #3
by André Figueiredo
Replied by André Figueiredo on topic The password sent in import not log.
Antonio Durán hello, thanks for the reply, but this post resolve not my problem.
In his post is talking about a different version of my, I'm using moodle 2.5
I can not find the file user_created.php
Found the index.php file within the admin / tool / uploaduser /
I have this cod:
$ user-> password = hash_internal_user_password ($ user-> password, true);
In his post is talking about a different version of my, I'm using moodle 2.5
I can not find the file user_created.php
Found the index.php file within the admin / tool / uploaduser /
I have this cod:
$ user-> password = hash_internal_user_password ($ user-> password, true);
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
12 years 4 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic The password sent in import not log.
There you can see that the password passed to the user_created event is already crypted.
You would need to modify that code, to pass the password in the clear.
You can also file a bug report in Moodle, as I think this is wrong behaviour.
You would need to modify that code, to pass the password in the clear.
You can also file a bug report in Moodle, as I think this is wrong behaviour.
Please Log in or Create an account to join the conversation.