If the brake light is on, one side of the system is not working. The light comes on when the pressure is uneven on both sides, usually due to fluid loss or too much air in the system.
My suggestion is to rebleed the system. You probably made a goof in the process, it happens. Also, there is...