Logo for setup QR code is always fetched by HTTP(S)
Opened this issue · 0 comments
Flole998 commented
Instead of directly accessing the file that stores the logo, when generating the QR code it tries to access it always using HTTP, which in some cases, like when the forum is behind a reverse proxy, will fail.
Logs show this:
Could not add logo to QR code: Could not read logo image data from path "https://my.forum/assets/ianm_twofactor_logo-dipjubotu24.png": file_get_contents(https://my.forum/assets/ianm_twofactor_logo-dipjubotu24.png): Failed to open stream: operation failed