decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.97k stars 3.05k forks source link

fix: display custom logo when using a proxy server #7235

Closed MichalRsa closed 5 months ago

MichalRsa commented 5 months ago

Summary fixes #5752

Bug occurred because the decap-cms-backend-proxy package uses a different authentication page. Yet, this page didn't reuse renderPageLogo function that is defined in decap-cms-ui-default, which allows the display of a custom logo.

Test plan

  1. Run npm run decap-server
  2. Add logo_url: YOUR_LOGO_URL to config.yml

Checklist

Please add a x inside each checkbox:

A picture of a cute animal (not mandatory but encouraged)