README.md in gollum-auth-0.5.0 vs README.md in gollum-auth-0.6.0
- old
+ new
@@ -45,18 +45,22 @@
require 'gollum/auth' # Don't forget to load the gem!
require 'gollum/app'
# Define list of authorized users.
# Each user must have a username, password, name and email.
+#
+# Instead of a password you can also define a password_digest, which is the
+# SHA-256 hash of a password.
+#
# Example:
users = YAML.load %q{
---
- username: rick
password: asdf754&1129-@lUZw
name: Rick Sanchez
email: rick@example.com
- username: morty
- password: 12345
+ password_digest: 5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5
name: Morty Smith
email: morty@example.com
}
# Allow unauthenticated users to read the wiki (disabled by default).