File upload does not have any validation

Successfully selected and uploaded .png and .jpg files