Can't reset user's pasword after upgrade erpnext & frappe from 8.x.x to 10.x.x

After i upgraded erpnext & frappe from 8.x.x to 10.x.x. It has many error. Normal users can’t login to system, exception for Administrator.
Then i tried to reset user’s password but system do not allow to reset. It has error message as below screenshot.

You probably need to do something like this…

cd ~/frappe-bench
bench update --reset
bench --site all migrate
bench set-admin-password [NewPassword]
bench clear-website-cache
bench clear-cache

Clear your browser cache as well, and then try to change user passwords etc

Perhaps this thread can guide you: