Moving out notification
Dear all, in my rent contract it is stated that I can move out within 1 month notification. I did notify my landlord April 3 and want to move out May 31. He replies that he will not give me security deposit if I will not stay until the end of the contract which is July 31.
Is he allowed to do so?