summaryrefslogtreecommitdiff
path: root/doc/passwordauth.mdwn
diff options
context:
space:
mode:
authorjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-30 02:26:50 +0000
committerjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-30 02:26:50 +0000
commit40365e1aee6740f12243b33e93962a6396ed27a6 (patch)
tree25c7ff062e5922609754d45c391f76e2a3393d8a /doc/passwordauth.mdwn
parente739073c386603bbaac05f409381b58761942597 (diff)
* Group passwordauth fields with a fieldset as well. Add a new
passwordauth page to the basewiki describing password authentication; like openid, it uses conditional to check which forms of authentication the wiki allows. Add conditional cross- links between the openid and passwordauth pages, to help the user understand how they can log in.
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.
+"""]]