|
|
@@ -3,7 +3,7 @@ const ErrorV3 = require('../models/vo/error-apiv3');
|
|
|
|
|
|
const logger = loggerFactory('growi:middleware:link-sharing-required');
|
|
|
|
|
|
-module.exports = (crowi) => (req, res, next) => {
|
|
|
+module.exports = crowi => (req, res, next) => {
|
|
|
const isLinkSharingDisabled = crowi.configManager.getConfig('crowi', 'security:disableLinkSharing');
|
|
|
logger.debug(`isLinkSharingDisabled: ${isLinkSharingDisabled}`);
|
|
|
|