aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-10 17:42:13 -0700
committerfriendica <info@friendica.com>2014-09-10 17:42:13 -0700
commit6ab21b3d4f3b3cde6e967257490781815dbec103 (patch)
tree69c87d4141dbe669e28f9b1c4b451f0fc1504dc4 /view
parent79bd45163156b30de0c102fb55181f08c756634f (diff)
downloadvolse-hubzilla-6ab21b3d4f3b3cde6e967257490781815dbec103.tar.gz
volse-hubzilla-6ab21b3d4f3b3cde6e967257490781815dbec103.tar.bz2
volse-hubzilla-6ab21b3d4f3b3cde6e967257490781815dbec103.zip
make verify_email the default for new installs (at least English installs), and provide a setting on the admin page for it.
Diffstat (limited to 'view')
-rw-r--r--view/en/htconfig.tpl5
-rwxr-xr-xview/tpl/admin_site.tpl1
2 files changed, 6 insertions, 0 deletions
diff --git a/view/en/htconfig.tpl b/view/en/htconfig.tpl
index 9377472bd..550b018fe 100644
--- a/view/en/htconfig.tpl
+++ b/view/en/htconfig.tpl
@@ -45,6 +45,11 @@ $a->config['system']['register_policy'] = REGISTER_OPEN;
$a->config['system']['register_text'] = '';
$a->config['system']['admin_email'] = '{{$adminmail}}';
+// Recommend you leave this set to 1. Set to 0 to let people register without
+// proving they own the email address they register with.
+
+$a->config['system']['verify_email'] = 1;
+
// Site access restrictions. By default we will create private sites.
// Your choices are ACCESS_PRIVATE, ACCESS_PAID, ACCESS_TIERED, and ACCESS_FREE.
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl
index 930486b5f..788fef457 100755
--- a/view/tpl/admin_site.tpl
+++ b/view/tpl/admin_site.tpl
@@ -65,6 +65,7 @@
<h3>{{$corporate}}</h3>
{{include file="field_checkbox.tpl" field=$block_public}}
+ {{include file="field_checkbox.tpl" field=$verify_email}}
{{include file="field_checkbox.tpl" field=$diaspora_enabled}}
{{include file="field_checkbox.tpl" field=$feed_contacts}}
{{include file="field_checkbox.tpl" field=$force_publish}}