update delete account config structure

#time 0.5h
This commit is contained in:
aina-esokia
2019-04-25 17:27:33 +04:00
parent 5aa13687e6
commit eff72083ba
4 changed files with 10 additions and 2 deletions

View File

@@ -279,7 +279,7 @@
</div>
<div class="modal-footer">
<label style="text-align: left;" class="form_label checkbox" for="delete_account_aggree">
{% if app['conf'].get(['main', 'delete-account-require-email-confirmation']) %}
{% if app['conf'].get(['user_account', 'deleting_policies', 'email_confirmation']) %}
{{ "phraseanet::account: I am agree to delete my account, need confirmation on mail" | trans }}
{% else %}
{{ "phraseanet::account: I am agree to delete my account" | trans }}