alt-design/alt-password-protect 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

alt-design/alt-password-protect

Composer 安装命令:

composer require alt-design/alt-password-protect

包简介

Alt Password Protect - hide your pages behind a password

README 文档

README

Secure your Statamic entries with user-friendly, individualized password protection

Features

  • Choose which entries to password protect
  • Choose individual password for each entry
  • Choose default password for all selected entries
  • Hide password protected entries from collection listings, and then override if needed
  • Extends, but doesn't affect, existing Statamic password protection

How to Install

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

composer require alt-design/alt-password-protect

How to Use

The Addon adds another tab onto entries, which allows you to select whether you want default password protection, a custom password, or none. You can set the default site password by going to Alt Password Protect in the control panel.

There's also the ability to remove the password protected items from collections, so that they don't show up in the collection listing. This is useful if you want to have a collection of password protected items, but don't want to show them in the collection listing. You can also tweak this setting in the settings (ofc).

You can then also override the hide using alt_protect_ignore="true" on your collection tag.

How to Uninstall

Warning: Do not remove the addon via Composer before running the prepare-uninstall command. If you do, any entries still using the addon's protection schemes will throw 403 errors because the drivers will no longer exist.

Step 1 — Run the prepare-uninstall command from your project root. This will strip the protect and alt_protect_custom_password fields from all entries that use this addon's protection schemes. Make sure you have a full backup before running this.

php artisan alt-password-protect:prepare-uninstall

Step 2 — Once the command has completed, remove the addon via Composer:

composer remove alt-design/alt-password-protect

Questions etc

Drop us a big shout-out if you have any questions, comments, or concerns. We're always looking to improve our addons, so if you have any feature requests, we'd love to hear them.

Starter Kits

Addons

Postcardware

Send us a postcard from your hometown if you like this addon. We love getting mail from other cool peeps!

Alt Design
St Helens House
Derby
DE1 3EE
UK

统计信息

  • 总下载量: 3.36k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 4
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固