forked from grimm/radiant-simple-password-extension
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
18 lines (14 loc) · 694 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
= Simple Password Extension
A "Simple Password Page" page protects contents with HTTP Basic
Authentication. The user name, password, and realm are set up in
the "config" page part with the following YAML format:
user: foo
password: secret
realm: kingdom
You will need to quote strings with ambiguous meaning in YAML including
(not limited) to: "!abc", "foo:bar", "null", "true", "false", "yes",
"no", "on", "off" (see http://yaml.org/spec/1.2/#id2588633 and
http://en.wikipedia.org/wiki/YAML#Pitfalls_and_implementation_defects)
SimplePasswordExtension depends on the authenticate_with_http_basic and
request_http_basic_authentication methods, introduced with Rails 2, and
Radiant > 0.6.5.