gilbitron/Pico — pull request #9 by mathroc (2012-10-26 12:03:26+00:00)
Title: Restricited access to draft pages

To enable draft access, set the $config['draft_auth'] credentials. eg:
$config['draft_auth'] = 'username:password';
To create a draft, create a page with .draft instead of .txt extension,
you can then access the draft append ?draft to the url of the page (the browser will ask you for the username/password set int he config file).
Once you're statified with the result, just change the extension to .txt

if draft_auth is not set in the config file, the draft wont be accessible.