mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Fix upgrade issue if macaroon_secret_key is undefined
This commit is contained in:
parent
bb18bd7fb2
commit
a6c090bd9b
1 changed files with 1 additions and 1 deletions
|
@ -1604,7 +1604,7 @@ room_prejoin_state:
|
||||||
# For more detail about this issue you can see : https://matrix.org/blog/2019/01/15/further-details-on-critical-security-update-in-synapse-affecting-all-versions-prior-to-0-34-1-cve-2019-5885/
|
# For more detail about this issue you can see : https://matrix.org/blog/2019/01/15/further-details-on-critical-security-update-in-synapse-affecting-all-versions-prior-to-0-34-1-cve-2019-5885/
|
||||||
# The problem is that we can't just say generate a new value if the package has not already defined a value. The reason is that changing this value logout all user. And in case of a user has enabled the encryption, the user might lost all conversation !!
|
# The problem is that we can't just say generate a new value if the package has not already defined a value. The reason is that changing this value logout all user. And in case of a user has enabled the encryption, the user might lost all conversation !!
|
||||||
# So for the old install we just leave this as it is. And for the new install we use a real macaroon.
|
# So for the old install we just leave this as it is. And for the new install we use a real macaroon.
|
||||||
{%- if macaroon_secret_key %}
|
{%- if macaroon_secret_key is defined %}
|
||||||
macaroon_secret_key: '{{ macaroon_secret_key }}'
|
macaroon_secret_key: '{{ macaroon_secret_key }}'
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue