]> 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 bd29f57703ab0416a2bad2b8a6ec76593dab871d..7e46bdf6423ed69e16abb847aca884884404c2fe 100644 (file)
@@ -1,9 +1,11 @@
 [[meta title="OpenID"]]
 
-[[template id=note text="""
 [[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
@@ -25,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"]]