mirror of https://gitlab.com/bashrc2/epicyon
Check that registrations are open
parent
f20fcdb300
commit
0924a02ca8
|
@ -900,6 +900,7 @@ else:
|
||||||
|
|
||||||
# if this is the initial run then allow new registrations
|
# if this is the initial run then allow new registrations
|
||||||
if not getConfigParam(baseDir, 'registration'):
|
if not getConfigParam(baseDir, 'registration'):
|
||||||
|
if args.registration.lower() == 'open':
|
||||||
setConfigParam(baseDir, 'registration', 'open')
|
setConfigParam(baseDir, 'registration', 'open')
|
||||||
setConfigParam(baseDir, 'maxRegistrations', str(maxRegistrations))
|
setConfigParam(baseDir, 'maxRegistrations', str(maxRegistrations))
|
||||||
setConfigParam(baseDir, 'registrationsRemaining', str(maxRegistrations))
|
setConfigParam(baseDir, 'registrationsRemaining', str(maxRegistrations))
|
||||||
|
|
Loading…
Reference in New Issue