Registration is open by default

merge-requests/30/head
Bob Mottram 2021-06-04 15:45:47 +01:00
parent 73da024042
commit 66e9128361
1 changed files with 2 additions and 2 deletions

View File

@ -550,13 +550,13 @@ parser.add_argument('--location', dest='location', type=str, default=None,
parser.add_argument('--duration', dest='duration', type=str, default=None,
help='Duration for which to share an item')
parser.add_argument('--registration', dest='registration', type=str,
default=None,
default='open',
help='Whether new registrations are open or closed')
parser.add_argument("--nosharedinbox", type=str2bool, nargs='?',
const=True, default=False,
help='Disable shared inbox')
parser.add_argument('--maxregistrations', dest='maxRegistrations',
type=int, default=None,
type=int, default=10,
help='The maximum number of new registrations')
parser.add_argument("--resetregistrations", type=str2bool, nargs='?',
const=True, default=False,