Fix mail templates to use alternate email when email is null

This commit is contained in:
Girish Ramakrishnan
2016-09-28 13:52:00 -07:00
parent 441ea1af05
commit 27d911addc
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
Dear Admin,
User <%= user.username %> <%= user.email %> <%= event %> in the Cloudron at <%= fqdn %>.
User <%= user.username || user.alternateEmail || user.email %> <%= event %> in the Cloudron at <%= fqdn %>.
You are receiving this email because you are an Admin of the Cloudron at <%= fqdn %>.