vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 339044f8aa6ab94ae6421b56b26be7396c8b0983
parent 0718a090e1b008b53da0d8a97854ff531f5248dc
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Thu,  7 Mar 2019 20:22:02 +0100

Add warning about config panel values overriding env vars.

Diffstat:
Msrc/static/templates/admin/page.hbs | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/static/templates/admin/page.hbs b/src/static/templates/admin/page.hbs @@ -57,6 +57,10 @@ <div id="config-block" class="align-items-center p-3 mb-3 bg-secondary rounded shadow"> <div> <h6 class="text-white mb-3">Configuration</h6> + <div class="small text-white mb-3"> + NOTE: The settings here override the environment variables. Once saved, it's recommended to stop setting them + to avoid confusion. This does not apply to the read-only section, which can only be set through the environment. + </div> <form class="form accordion" id="config-form"> {{#each config}} {{#if groupdoc}} @@ -105,11 +109,11 @@ <div class="card-header"><button type="button" class="btn btn-link collapsed" data-toggle="collapse" data-target="#g_readonly">Read-Only Config</button></div> <div id="g_readonly" class="card-body collapse" data-parent="#config-form"> - <p> + <div class="small mb-3"> NOTE: These options can't be modified in the editor because they would require the server to be restarted. To modify them, you need to set the correct environment variables when launching the server. You can check the variable names in the tooltips of each option. - </p> + </div> {{#each config}} {{#each elements}}