Add support for custom ma1sd view sesion templates

This commit is contained in:
Slavi Pantaleev
2021-01-03 07:36:09 +02:00
parent f84c69c164
commit 4805637181
3 changed files with 35 additions and 0 deletions

View File

@ -73,6 +73,18 @@ threepid:
{% endif %}
{% endif %}
{% if matrix_ma1sd_view_session_custom_templates_enabled %}
view:
session:
onTokenSubmit:
{% if matrix_ma1sd_view_session_custom_onTokenSubmit_success_template %}
success: '/etc/ma1sd/tokenSubmitSuccess.html'
{% endif %}
{% if matrix_ma1sd_view_session_custom_onTokenSubmit_failure_template %}
failure: '/etc/ma1sd/tokenSubmitFailure.html'
{% endif %}
{% endif %}
{% if matrix_ma1sd_hashing_enabled %}
hashing:
enabled: true # enable or disable the hash lookup MSC2140 (default is false)