define configuration settings for account maintenance security

This commit is contained in:
Evan Prodromou 2010-12-13 16:28:02 -05:00
parent 027c73a4a1
commit 7c7b91e61a
2 changed files with 11 additions and 1 deletions

6
README
View File

@ -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
-------

View File

@ -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/',