Removed the openidsignup option.

master
Joey Hess 2010-05-07 21:33:27 -04:00
parent 1e75389a85
commit 8f6cfbfade
3 changed files with 1 additions and 27 deletions

View File

@ -9,7 +9,6 @@ use IkiWiki 3.00;
sub import {
add_underlay("openid-selector");
hook(type => "checkconfig", id => "openid", call => \&checkconfig);
hook(type => "getopt", id => "openid", call => \&getopt);
hook(type => "getsetup", id => "openid", call => \&getsetup);
hook(type => "auth", id => "openid", call => \&auth);
hook(type => "formbuilder_setup", id => "openid",
@ -34,13 +33,6 @@ sub checkconfig () {
}
}
sub getopt () {
eval q{use Getopt::Long};
error($@) if $@;
Getopt::Long::Configure('pass_through');
GetOptions("openidsignup=s" => \$config{openidsignup});
}
sub getsetup () {
return
plugin => {
@ -48,13 +40,6 @@ sub getsetup () {
rebuild => 0,
section => "auth",
},
openidsignup => {
type => "string",
example => "http://myopenid.com/",
description => "an url where users can signup for an OpenID",
safe => 1,
rebuild => 0,
},
}
sub openid_selector {

1
debian/changelog vendored
View File

@ -14,6 +14,7 @@ ikiwiki (3.20100505) UNRELEASED; urgency=low
(http://code.google.com/p/openid-selector/)
* openid: Use "openid_identifier" as the form field, as required
by OpenID Authentication v2.0 spec.
* Removed the openidsignup option.
-- Joey Hess <joeyh@debian.org> Wed, 05 May 2010 18:07:29 -0400

View File

@ -11,17 +11,5 @@ The [[!cpan LWPx::ParanoidAgent]] perl module is used if available, for
added security. Finally, the [[!cpan Crypt::SSLeay]] perl module is needed
to support users entering "https" OpenID urls.
This plugin has a configuration option. You can set `--openidsignup`
to the url of a third-party site where users can sign up for an OpenID. If
it's set, the signin page will link to that site.
This plugin supports the
[myopenid.com affiliate program](http://myopenid.com/affiliate),
which can be used to help users sign up for an OpenID and log into your
site in a single, unified process. When you create the affiliate, specify a
login url like `http://example.com/ikiwiki.cgi?do=continue`. Once the
affiliate is created, set `openidsignup` to point to the affiliate's signup
url.
This plugin is enabled by default, but can be turned off if you want to
only use some other form of authentication, such as [[passwordauth]].