summaryrefslogtreecommitdiff
path: root/doc/passwordauth.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/passwordauth.mdwn')
-rw-r--r--doc/passwordauth.mdwn22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/passwordauth.mdwn b/doc/passwordauth.mdwn
new file mode 100644
index 000000000..1c1358277
--- /dev/null
+++ b/doc/passwordauth.mdwn
@@ -0,0 +1,22 @@
+[[meta title="Password Authentication"]]
+
+[[if test="enabled(passwordauth)"
+ then="""
+This wiki has passwordauth **enabled**.
+
+You can sign into this wiki by entering a username and password in the login
+form. If you don't have an account, you can register for one from the login
+form by hitting the "Register" button.
+
+[[if test="enabled(openid) and openid"
+ then="You can also sign into this wiki using [[OpenID]]."]]
+"""
+else="""
+This wiki has passwordauth **disabled**.
+[[if test="enabled(openid) and openid"
+ then="You can sign into this wiki using [[OpenID]]."]]
+
+If this wiki had passwordauth enabled, you could sign into this wiki by
+entering the username and password for your account, or create an account from
+the login form by hitting the "Register" button.
+"""]]