Depending on the length of the corridor, it can create too strong a flow of qi to the door. Like having a house with a door facing a T-junction.
But -- as always -- it all depends on the details of the corridor, the floor, the lay-out of the building, the external forms, etc.
Just enjoy your lovely home!