aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-07-21 15:31:23 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-07-21 15:31:23 +0200
commitac8bd3d2512dd1bfca43d71ea10202ba9e6a82a6 (patch)
treedc1758f0444723e8b1ff8ffa73a5aa481f2ac441 /data
parentfa76e863c5622609b944542b0255c30f2f67c97e (diff)
Add a max_registrations limit
- Allow user to create accounts (not implemented) - Admin only can set this limit See https://github.com/FreshRSS/FreshRSS/issues/679
Diffstat (limited to 'data')
-rw-r--r--data/config.default.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/config.default.php b/data/config.default.php
index 6013b13b8..5db933ff8 100644
--- a/data/config.default.php
+++ b/data/config.default.php
@@ -77,6 +77,10 @@ return array(
# Max number of categories for a user.
'max_categories' => 16384,
+ # Max number of accounts that anonymous users can create
+ # 0 for an unlimited number of accounts
+ # 1 is to not allow user registrations (1 is corresponding to the admin account)
+ 'max_registrations' => 1,
),
# Options used by cURL when making HTTP requests, e.g. when the SimplePie library retrieves feeds.