mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-06-08 11:41:34 +00:00
Improved APP_SECRET warning message
This commit is contained in:
parent
93ab410857
commit
4b00541dd6
2 changed files with 2 additions and 1 deletions
|
|
@ -91,6 +91,7 @@
|
|||
<p class="mb-1">{% trans %}system.app_secret.insecure.message{% endtrans %}</p>
|
||||
<p class="mb-0">{% trans %}system.app_secret.insecure.suggestion{% endtrans %}
|
||||
<br><code>APP_SECRET={{ suggested_app_secret }}</code></p>
|
||||
<small>{% trans %}update_manager.new_version_available.only_administrators_can_see{% endtrans %}</small>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
|
|
@ -13658,7 +13658,7 @@ Buerklin-API Authentication server:
|
|||
<unit id="XSSYWTJ" name="system.app_secret.insecure.message">
|
||||
<segment state="translated">
|
||||
<source>system.app_secret.insecure.message</source>
|
||||
<target>APP_SECRET is set to the default value shipped with Part-DB. This is a security risk! Set it to a new random value in your .env.local or docker-compose.yaml file.</target>
|
||||
<target>The <code>APP_SECRET</code> environment variable is set to the default value shipped with Part-DB. This is a security risk! Set it to a new random value in your <code>.env.local</code> or <code>docker-compose.yaml</code> file.</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="e7.f3m0" name="system.app_secret.insecure.suggestion">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue