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

Perhaps this thread can guide you: