Added setting for admin to limit the number of rooms for the user (#607)

This commit is contained in:
farhatahmad
2019-07-09 10:56:06 -04:00
committed by Jesus Federico
parent 4f2b190239
commit e4f50026f1
13 changed files with 171 additions and 30 deletions

View File

@ -130,6 +130,9 @@ module Greenlight
# Default registration method if the user does not specify one
config.registration_method_default = config.registration_methods[:open]
# Default limit on number of rooms users can create
config.number_of_rooms_default = 15
# Default admin password
config.admin_password_default = ENV['ADMIN_PASSWORD'] || 'administrator'
end