webbuilders-group/silverstripe-login-files
Composer 安装命令:
composer require webbuilders-group/silverstripe-login-files
包简介
Changes how assets in Silverstripe that require a logged in user are handled by redirecting them to login rather than returning a page not found while keeping draft assets as a page not found.
关键字:
README 文档
README
Changes how assets in Silverstripe that require a logged in user are handled by redirecting them to login rather than returning a page not found while keeping draft assets as a page not found. Restoring similar behavior to that of silverstripe/secureassets.
Maintainer Contact
- Ed Chipman (UndefinedOffset)
Requirements
- SilverStripe Assets ~1.4|~2.0|~3.0
Installation
composer require webbuilders-group/silverstripe-login-files
Configuration
By default this module will also redirect protected files when they are either missing their hash (for example a legacy url) or when the hash is out of date, this can be turned off by adding the following to your yaml configuration:
WebbuildersGroup\LoginFiles\Flysystem\FlysystemAssetStore: redirect_protected: false
统计信息
- 总下载量: 741
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2019-07-18