mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
Branding #1888
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 @utlilb on GitHub.
Have everything installed and running great in Docker. Where can I change the branding for everything? IE change Bitwarden_rs in invites, admin panel, etc to something else.
@dani-garcia commented on GitHub:
About emails and admin page, you can modify the templates available here and place them inside the data folder, so the folder structure is /path/to/data/templates/. You can also set the variable TEMPLATES_FOLDER to change that path.
Any changes in the web vault you'd need to recompile it yourself to apply them.
@dani-garcia commented on GitHub:
Note that the template files for email should be in your_data_folder/templates/email/ and inside that you should have all the hbs files, if you just place them in your_data_folder/templates it won't find them.
@dani-garcia commented on GitHub:
If your hbs files are in bw-data/templates/email, then you'd need to have -e TEMPLATES_FOLDER=bw-data/templates, and that should work.
Note that the reload_templates is only needed if you want to update the template files without restarting the server.
@Gyarbij commented on GitHub:
Hi, I might be missing something very simple but I created a folder called templates in the bw-data folder so it looks like this /bw-data/templates with the template files inside. however when an email is sent it still shows up the same way as before. Am I supposed to do an additional step?
@Gyarbij commented on GitHub:
I did that after with both the admin and email within the templates folder and then including this;
-e TEMPLATES_FOLDER=bw-data/templates/email
-e RELOAD_TEMPLATES=true \
@BlackDex commented on GitHub:
@fuanegua This is not really build in the bitwarden_rs web-server, we only parse the templates.
Best thing to serve your own images using a separate endpoint or subdomain redirected by a reverse proxy for these items.
@Gyarbij commented on GitHub:
I did that but alas still nothing as it still uses the default, it might just be a case of me being glib then.
@fuanegua commented on GitHub:
What about the images-folder? How can I change the logo?
@BlackDex commented on GitHub:
Anyway, please continue this further on the forum please, since this is not an issue https://bitwardenrs.discourse.group/
Thanks 😄
@BlackDex commented on GitHub:
You could also download the pre-built web-vault, use that and add or change images in the images folder there.