This is a plugin for LocomotiveCMS. It was created to allow LocomotiveCMS designers to add basic auth to specific pages.
To use this plugin you must be using a version of LocomotiveCMS that has the plugins feature designed by Colibri Software. You can do this by making the following changes to the Gemfile in you app:
- Remove or comment out the following line:
gem 'locomotive_cms', '~> 2.X.X', require: 'locomotive/engine'
- Add the following line:
gem 'locomotive_cms', require: 'locomotive/engine', git: 'https://github.com/colibri-software/locomotive_engine.git', branch: 'plugins'
Then add the following lines in your Gemfile to include the plugin:
group :locomotive_plugins do
gem 'locomotive_basic_auth_plugin'
end
This plugin provides a configuration menu to setup the basic auth. The following are the avaiable options:
- Login – the login name to be used
- Password – The password to be used
- Page fullpath regexp – a regexp that matches all the pages that need to be secured with basic auth
No liquid drops are provided
No liquid tags are provided
No liquid filters are provided