Skip to content

New sign-in page has hardcoded GitLab logo

Summary

It seems like the new streamlined login page has a hardcoded GitLab logo that cannot be changed via the API or UI (even though the API attribute and GUI options suggest that's the case)

See https://gitlab.com/gitlab-org/gitlab/-/blob/63158406b0e65fc2ae4668adefb9ecc1b55fa48d/app/views/layouts/devise.html.haml#L16

Steps to reproduce

  1. Start a 15.4 container and obtain its root password
  2. Log in and go to Admin > Settings > Appearance > Sign in/Sign up pages
  3. Upload a logo
  4. Open the login page in Incognito mode and see the GitLab logo is still shown

Example Project

Not applicable

What is the current bug behavior?

Setting a logo for the signin page has no effect.

What is the expected correct behavior?

Setting a logo overrides the default GitLab logo.

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Default 15.4 container

Possible fixes

See https://gitlab.com/gitlab-org/gitlab/-/blob/63158406b0e65fc2ae4668adefb9ecc1b55fa48d/app/views/layouts/devise.html.haml#L16

/cc @jannik_lehmann