README.md in gollum-auth-0.4.0 vs README.md in gollum-auth-0.5.0
- old
+ new
@@ -43,18 +43,21 @@
#!/usr/bin/env ruby
require 'rubygems'
require 'gollum/auth' # Don't forget to load the gem!
require 'gollum/app'
-# Define list of authorized users where each must have a "name", "password"
-# and "email":
+# Define list of authorized users.
+# Each user must have a username, password, name and email.
+# Example:
users = YAML.load %q{
---
-- name: Rick Sanchez
+- username: rick
password: asdf754&1129-@lUZw
+ name: Rick Sanchez
email: rick@example.com
-- name: Morty Smith
+- username: morty
password: 12345
+ name: Morty Smith
email: morty@example.com
}
# Allow unauthenticated users to read the wiki (disabled by default).
options = { allow_guests: true }