Fix reset password bug

...swords