Although, what you did was accept a counter-offer from your current employer, which can put you in a bad position in the future.
For example, if times are hard you'll probably find yourself first in the firing line. It can harbour bad feelings with your boss who may feel they've had their hand forced in increasing your compensation. Your employer may start to doubt your commitment or loyalty to the company. It's likely to shut the door on the company you applied to in the future.
There are quite a few reasons not to do this, make sure you think hard before accepting a counter.
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.
Although, what you did was accept a counter-offer from your current employer, which can put you in a bad position in the future.
For example, if times are hard you'll probably find yourself first in the firing line. It can harbour bad feelings with your boss who may feel they've had their hand forced in increasing your compensation. Your employer may start to doubt your commitment or loyalty to the company. It's likely to shut the door on the company you applied to in the future.
There are quite a few reasons not to do this, make sure you think hard before accepting a counter.