Thanks, good story ... in the end you did the right thing, but make no mistake these situations can be horribly difficult. The best scenario is if you're not really dependent on them and you're in a position where you can just walk out telling them "you're asking me something unethical, so I quit" (which is what you did). But it takes time to muster the courage, no question about it, it's easier said than done.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks, good story ... in the end you did the right thing, but make no mistake these situations can be horribly difficult. The best scenario is if you're not really dependent on them and you're in a position where you can just walk out telling them "you're asking me something unethical, so I quit" (which is what you did). But it takes time to muster the courage, no question about it, it's easier said than done.