💄 — Disable signature when using LDAP (Fix #249)

This commit is contained in:
Luc Didry 2021-06-24 14:59:01 +02:00
parent 43428be8ea
commit 4271d082b3
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C
2 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ Revision history for Lufi
- ✨ Add `disable_mail_sending` config parameter
- 🌐 Update translations
- 🐛 Fix mail signature separator
- 💄 Disable signature when using LDAP (#249)
0.05.13 2021-01-28
- 🐛 Fix latest git tag improperly fetched

View File

@ -45,7 +45,9 @@ function populateBody() {
}
});
% if (!defined(config('ldap')) && !defined(config('htpasswd'))) {
text = text+"\n-- \n<%= l('Share your files in total privacy on %1', url_for('/')->to_abs) %>";
% }
tArea = document.getElementById('body').value = text;
updateMailtoLink();
}