Im trying to add 'current password' field to account/password.
Currently it has only password and confirmation fields, I'd like customers to write current passwords so after that they can change it.
OC version is 2.0.1.1
I've add current password field to template/view/account/password.tpl
It will be needed to create variable on model/account/customer.php to pass it to the controller.
There is validate function in controller/account/password.php but I coundn't correctly pull validation off. Could you assist me to get hashed version of password from db and compare it to field value?
Conceptually I know what to do but can't do it correctly in practice

Thanks