geforkt von mirrored/vaultwarden
Add warning about config panel values overriding env vars.
Dieser Commit ist enthalten in:
Ursprung
0718a090e1
Commit
339044f8aa
1 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen
|
@ -57,6 +57,10 @@
|
||||||
<div id="config-block" class="align-items-center p-3 mb-3 bg-secondary rounded shadow">
|
<div id="config-block" class="align-items-center p-3 mb-3 bg-secondary rounded shadow">
|
||||||
<div>
|
<div>
|
||||||
<h6 class="text-white mb-3">Configuration</h6>
|
<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">
|
<form class="form accordion" id="config-form">
|
||||||
{{#each config}}
|
{{#each config}}
|
||||||
{{#if groupdoc}}
|
{{#if groupdoc}}
|
||||||
|
@ -105,11 +109,11 @@
|
||||||
<div class="card-header"><button type="button" class="btn btn-link collapsed" data-toggle="collapse"
|
<div class="card-header"><button type="button" class="btn btn-link collapsed" data-toggle="collapse"
|
||||||
data-target="#g_readonly">Read-Only Config</button></div>
|
data-target="#g_readonly">Read-Only Config</button></div>
|
||||||
<div id="g_readonly" class="card-body collapse" data-parent="#config-form">
|
<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
|
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
|
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.
|
launching the server. You can check the variable names in the tooltips of each option.
|
||||||
</p>
|
</div>
|
||||||
|
|
||||||
{{#each config}}
|
{{#each config}}
|
||||||
{{#each elements}}
|
{{#each elements}}
|
||||||
|
|
Laden …
In neuem Issue referenzieren