Make the number of teams and owned teams configurable
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
define(function () {
|
||||
define(['/customize/application_config.js'], function (AppConfig) {
|
||||
return {
|
||||
// localStorage
|
||||
userHashKey: 'User_hash',
|
||||
@@ -16,7 +16,8 @@ define(function () {
|
||||
tokenKey: 'loginToken',
|
||||
displayPadCreationScreen: 'displayPadCreationScreen',
|
||||
deprecatedKey: 'deprecated',
|
||||
MAX_TEAMS_SLOTS: 3,
|
||||
MAX_TEAMS_SLOTS: AppConfig.maxTeamsSlots || 3,
|
||||
MAX_TEAMS_OWNED: AppConfig.maxTeamsOwned || 1,
|
||||
// Sub
|
||||
plan: 'CryptPad_plan',
|
||||
// Apps
|
||||
|
||||
Reference in New Issue
Block a user