mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-08 23:14:39 -05:00
[GH-ISSUE #5606] Web-vault no longer uses .png logos/branding. #14990
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GeorgelT on GitHub (Feb 17, 2025).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/5606
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Environment settings which are overridden: DOMAIN, SIGNUPS_DOMAINS_WHITELIST, ADMIN_TOKEN, SMTP_HOST, SMTP_SECURITY, SMTP_PORT, SMTP_FROM, SMTP_FROM_NAME, SMTP_EMBED_IMAGES, EMAIL_2FA_ENFORCE_ON_VERIFIED_INVITE
Config:
Vaultwarden Build Version
1.33.2
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
apache2
Host/Server Operating System
Linux
Operating System Version
No response
Clients
Web Vault
Client Version
No response
Steps To Reproduce
Start container with volume flag -v $PATH_TO_LOGO:/web-vault/images/logo.svg -v $PATH_TO_LOGO_WHITE:/web-vault/images/logo-white.svg
Expected Result
If I replace the .svg logos with my own corporate logos, they should be replaced on the login page.
Actual Result
My replacement Logo flashes for a fraction of a second before loading is complete. Once everything is loaded, logo get swapped out with the default one, as if nothing was changed in the files.
Logs
Screenshots or Videos
Additional Context
On the previous(2024) web-vault version we were able to swap the logo above the login page with our own corporate logo by swapping out the 2 files present in /web-vault/images
/web-vault/images/logo-white@2x.png and /web-vault/images/logo-dark@2x.png respectively by passing our appropriately sized logo as a volume mount to the container. Since the change to the .svg file this seems to no longer be possible.
I have swapped the .png files for .svg files of correct size, but this same file swap does not seem to work anymore.
What I am able to gather from inspecting the login page is that the same file is being used currently for both the top left logo and the one above the login window. From the inspect window they both have the same bit-icon and tw-fill-marketing-logo class. Is it possible to get at least the logo above the login window swappable again? I think it might scare people if the login page suddenly changes on them.
Cheers,
GeorgelT
@stefan0xC commented on GitHub (Feb 17, 2025):
Duplicate of #5453 - Cf. discussion here: https://github.com/dani-garcia/vaultwarden/discussions/5454