User can't change its password after logging in

User can't change its password after logging in

by Eran Levin -
Number of replies: 0

Hello there,

We use the "Force password change" feature when we create a user.

After  doing that, the user is prompt a message that asks for a new password.

then the user is logged off from the system, and the process begins again, but, this time, after trying to change its password he gets :

error/moodle/cannotedituserpreferences
error...

here are logs of such event:

Mon Dec 19 22:45:24.959559 2016] [:error] [pid 11886] [client ip:60662] [client ip]  mydomain/moodle  Failed Login:  309347540  Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36, referer: mydomain/moodle/login/index.php

[Mon Dec 19 22:45:58.930006 2016] [:error] [pid 12157] [client ip:60684] [client ip]  mydomain/moodle  Failed Login:  309347540  Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36, referer: mydomain/moodle/login/index.php

[Mon Dec 19 22:47:03.272917 2016] [:error] [pid 12157] [client ip:60730] Cannot find session record qkpe9ijib7ld5b9lk06fqpi881 for user 36, creating new session., referer: mydomain/moodle/login/change_password.php

[Mon Dec 19 22:47:34.405940 2016] [:error] [pid 11603] [client ip:60743] Default exception handler: Cannot edit this user's preferences Debug: \nError code: cannotedituserpreferences\n* line 38 of /user/preferences.php: moodle_exception thrown\n, referer: mydomain/moodle/login/index.php

Does anyone know why this happen?
Average of ratings: -