Morally it is discrimination.If you are asking if it is legally discrimination then I don't know.
This doesn't help much , except that if you feel angry then you have every right to feel angry and and full of quite righteous indignation about how you have been treated.
Wish I could say something more positive.
Spot