]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/openid.mdwn
* Group passwordauth fields with a fieldset as well. Add a new
[ikiwiki.git] / doc / openid.mdwn
index 5037ac4f78582cb80f09c88801146df0dfec2f8c..7e46bdf6423ed69e16abb847aca884884404c2fe 100644 (file)
@@ -2,7 +2,11 @@
 
 [[if test="enabled(openid)"
      then="This wiki has OpenID **enabled**."
-     else="This wiki has OpenID **disabled**."]]
+     else="""
+This wiki has OpenID **disabled**.
+[[if test="enabled(passwordauth) and passwordauth"
+     then="You can sign into this wiki using [[passwordauth]]."]]
+"""]]
 
 [OpenID](http://openid.net) is a decentralized authentication mechanism
 that allows you to have one login that you can use on a growing number of
@@ -23,10 +27,13 @@ signin form. You do not need to give this wiki a password or go through any
 registration process when using OpenID.
 """]]
 
+[[if test="enabled(openid) and enabled(passwordauth) and passwordauth"
+     then="You can also sign into this wiki using [[passwordauth]]."]]
+
 ---
 
 It's also possible to make a page in the wiki usable as an OpenID url,
 by delegating it to an openid server. Here's an example of how to do that:
 
-       \[[meta link="http://www.myopenid.com/server" rel="openid.server"]]
-       \[[meta link="http://yourid.myopenid.com/" rel="openid.delegate"]]
+       \\[[meta openid="http://yourid.myopenid.com/"
+       server="http://www.myopenid.com/server"]]