From c2d3fe9929c61f7dce840ada06b997bb1a46f6cb Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Sat, 26 Jul 2014 17:14:06 +0400 Subject: [PATCH] add comments about registration --- lib/config_def.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/config_def.yaml b/lib/config_def.yaml index c1bbf7cd9..3204dff78 100644 --- a/lib/config_def.yaml +++ b/lib/config_def.yaml @@ -2,6 +2,8 @@ storage: ./storage # a list of users +# +# This could be deprecated soon, use "users_file" instead. users: admin: # crypto.createHash('sha1').update(pass).digest('hex') @@ -9,7 +11,8 @@ users: users_file: ./htpasswd -# set this to 0 to disable registration +# Maximum amount of users allowed to register, defaults to "+inf". +# You can set this to 0 to disable registration. #max_users: 1000 # a list of other known repositories we can talk to