Mounting bracket for glass door with magnetic lock