Quotients of group rings arising from two-dimensional representations