From 6ab21b3d4f3b3cde6e967257490781815dbec103 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 10 Sep 2014 17:42:13 -0700 Subject: make verify_email the default for new installs (at least English installs), and provide a setting on the admin page for it. --- view/en/htconfig.tpl | 5 +++++ view/tpl/admin_site.tpl | 1 + 2 files changed, 6 insertions(+) (limited to 'view') 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 @@

{{$corporate}}

{{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}} -- cgit v1.2.3