Im working on a custom plugin for authentication. I did the login and signup custom functions overriding Moodle's. Everything is ok till now.
Now I'd like to override the function core_login_process_password_reset() present in login/lib.php to add a check if the user who asks for new password is using my plugin (get_auth_plugin($user->auth)) or not. If yes, I need to add some custom code.
How should I do this task? Can be that function overriden? Id like to mantain Moodle upgrade capability not changing core code.
TIA and cheers.