summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-12-13 16:28:02 -0500
committerEvan Prodromou <evan@status.net>2010-12-13 16:28:02 -0500
commit7c7b91e61ad273023d774617f23fa1429f535b22 (patch)
treea18cbf682dc8a1f94e94a9a8bc28e052bce578c2
parent027c73a4a1e1509b7cacc6068dacfb4fc778c872 (diff)
define configuration settings for account maintenance security
-rw-r--r--README6
-rw-r--r--lib/default.php6
2 files changed, 11 insertions, 1 deletions
diff --git a/README b/README
index 3bebb11ee..e2e4c580e 100644
--- a/README
+++ b/README
@@ -1276,6 +1276,12 @@ Profile management.
biolimit: max character length of bio; 0 means no limit; null means to use
the site text limit default.
+backup: whether users can backup their own profiles. Defaults to true.
+restore: whether users can restore their profiles from backup files. Defaults
+ to true.
+delete: whether users can delete their own accounts. Defaults to true.
+move: whether users can move their accounts to another server. Defaults
+ to true.
newuser
-------
diff --git a/lib/default.php b/lib/default.php
index 029dbb390..7a44ed875 100644
--- a/lib/default.php
+++ b/lib/default.php
@@ -123,7 +123,11 @@ $default =
'featured' => array()),
'profile' =>
array('banned' => array(),
- 'biolimit' => null),
+ 'biolimit' => null,
+ 'backup' => true,
+ 'restore' => true,
+ 'delete' => true,
+ 'move' => true),
'avatar' =>
array('server' => null,
'dir' => INSTALLDIR . '/avatar/',