##// END OF EJS Templates
license: added a flag to allow hidding license info.
marcink -
r4006:1e9547aa default
parent child Browse files
Show More
@@ -273,6 +273,9 b' allow_custom_hooks_settings = true'
273 ## New generated token value can be found in Admin > settings > license page.
273 ## New generated token value can be found in Admin > settings > license page.
274 license_token =
274 license_token =
275
275
276 ## This flag would hide sensitive information on the license page
277 license.hide_license_info = false
278
276 ## supervisor connection uri, for managing supervisor and logs.
279 ## supervisor connection uri, for managing supervisor and logs.
277 supervisor.uri =
280 supervisor.uri =
278 ## supervisord group name/id we only want this RC instance to handle
281 ## supervisord group name/id we only want this RC instance to handle
@@ -248,6 +248,9 b' allow_custom_hooks_settings = true'
248 ## New generated token value can be found in Admin > settings > license page.
248 ## New generated token value can be found in Admin > settings > license page.
249 license_token =
249 license_token =
250
250
251 ## This flag would hide sensitive information on the license page
252 license.hide_license_info = false
253
251 ## supervisor connection uri, for managing supervisor and logs.
254 ## supervisor connection uri, for managing supervisor and logs.
252 supervisor.uri =
255 supervisor.uri =
253 ## supervisord group name/id we only want this RC instance to handle
256 ## supervisord group name/id we only want this RC instance to handle
@@ -363,6 +363,10 b' def attach_context_attributes(context, r'
363 context.visual.cut_off_limit_file = safe_int(
363 context.visual.cut_off_limit_file = safe_int(
364 config.get('cut_off_limit_file'))
364 config.get('cut_off_limit_file'))
365
365
366 context.license = AttributeDict({})
367 context.license.hide_license_info = str2bool(
368 config.get('license.hide_license_info', False))
369
366 # AppEnlight
370 # AppEnlight
367 context.appenlight_enabled = str2bool(config.get('appenlight', 'false'))
371 context.appenlight_enabled = str2bool(config.get('appenlight', 'false'))
368 context.appenlight_api_public_key = config.get(
372 context.appenlight_api_public_key = config.get(
General Comments 0
You need to be logged in to leave comments. Login now