The login QR code is currently being rendered as a full colour image which is unnecessary for a monochrome graphic like a QR code.
The imagine handler for this QR code is breaking on big endian platforms with nvidia GPUs, causing the code to be displayed incorrectly with the black elements being shown as pink. This prevents the discord app from properly scanning it.
The simplest solution to this problem would be to generate the QR code as a 1 bit per pixel indexed bitmap (maybe xbitmap format?) so that no colour data has to be displayed.
Weirdly enough, the login QR code is the only graphic in the entire application which does not render properly on big endian. All images for servers, users and user sent messages are rendering as expected.