]> 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 a8ce46f08488d66a93ace7a6303dbc3a94180c05..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,6 +27,9 @@ 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,