Please contact us if you have any trouble resetting your password.
Looks like the friend keyword promotes it to a free-standing function rather than a member function. It's not a syntax I like, or would use.