No commit activity in last 3 years
No release in over 3 years
Protect a page's contents with HTTP Basic Authentication.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Basic Page Auth

Protect page content with HTTP Basic Authentication. The user, password, and realm are set up by adding the following Fields to a page:

User (required) Password (required) Realm (optional)

Realm defaults to the page slug. If set to "true" it will use Radiant::Config['site.title'], otherwise set your own value.

TODO

  • Write some tests

Installation

This has only been tested on Radiant v1.0.0.rc2 +

Add the gem to your Gemfile :

gem "radiant-basic_page_auth-extension", "~> 1.0.2"

Update your bundle :

$ bundle install