##// 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 273 ## New generated token value can be found in Admin > settings > license page.
274 274 license_token =
275 275
276 ## This flag would hide sensitive information on the license page
277 license.hide_license_info = false
278
276 279 ## supervisor connection uri, for managing supervisor and logs.
277 280 supervisor.uri =
278 281 ## supervisord group name/id we only want this RC instance to handle
@@ -248,6 +248,9 b' allow_custom_hooks_settings = true'
248 248 ## New generated token value can be found in Admin > settings > license page.
249 249 license_token =
250 250
251 ## This flag would hide sensitive information on the license page
252 license.hide_license_info = false
253
251 254 ## supervisor connection uri, for managing supervisor and logs.
252 255 supervisor.uri =
253 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 363 context.visual.cut_off_limit_file = safe_int(
364 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 370 # AppEnlight
367 371 context.appenlight_enabled = str2bool(config.get('appenlight', 'false'))
368 372 context.appenlight_api_public_key = config.get(
General Comments 0
You need to be logged in to leave comments. Login now