The front brake lever should activate the brake light. If the rear brake pedal turns the brake light on, then you probably have a bad switch on the front brake lever. If neither the front or rear brake activates the brake light, then you could have a bad light bulb or possibly a blown fuse.
Pete
Pete