Make default from address mandatory

Zanata needs to be able to send email for user registration, etc.
Make this parameter mandatory.

Change-Id: I37a2f8c9133a6ce3b098370e7df4fa1d200270c5
This commit is contained in:
stephane 2015-04-22 09:35:25 -07:00
parent a2dec06d4d
commit faad5121f0
2 changed files with 1 additions and 3 deletions

View File

@ -29,7 +29,7 @@ class zanata(
$zanata_mojarra_url = 'https://sourceforge.net/projects/zanata/files/wildfly/wildfly-8.1.0.Final-module-mojarra-2.1.28.zip',
$zanata_url = 'https://sourceforge.net/projects/zanata/files/webapp/zanata-war-3.6.0.war',
$zanata_default_from_address = '',
$zanata_default_from_address,
$zanata_storage_dir = '/home/wildfly/zanata',
$zanata_openid_provider_url = '',

View File

@ -423,9 +423,7 @@
<simple name="java:global/zanata/security/admin-users" value="admin"/>
<% end -%>
<simple name="java:global/zanata/files/document-storage-directory" value="<%= @zanata_storage_dir %>/files"/>
<% if @zanata_default_from_address != '' -%>
<simple name="java:global/zanata/email/default-from-address" value="<%= @zanata_default_from_address %>"/>
<% end -%>
<% if @zanata_smtp_host != '' -%>
<simple name="java:global/zanata/smtp/host" value="<%= @zanata_smtp_host %>" />
<% end -%>