Removed the openidsignup option.
parent
1e75389a85
commit
8f6cfbfade
|
@ -9,7 +9,6 @@ use IkiWiki 3.00;
|
||||||
sub import {
|
sub import {
|
||||||
add_underlay("openid-selector");
|
add_underlay("openid-selector");
|
||||||
hook(type => "checkconfig", id => "openid", call => \&checkconfig);
|
hook(type => "checkconfig", id => "openid", call => \&checkconfig);
|
||||||
hook(type => "getopt", id => "openid", call => \&getopt);
|
|
||||||
hook(type => "getsetup", id => "openid", call => \&getsetup);
|
hook(type => "getsetup", id => "openid", call => \&getsetup);
|
||||||
hook(type => "auth", id => "openid", call => \&auth);
|
hook(type => "auth", id => "openid", call => \&auth);
|
||||||
hook(type => "formbuilder_setup", id => "openid",
|
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 () {
|
sub getsetup () {
|
||||||
return
|
return
|
||||||
plugin => {
|
plugin => {
|
||||||
|
@ -48,13 +40,6 @@ sub getsetup () {
|
||||||
rebuild => 0,
|
rebuild => 0,
|
||||||
section => "auth",
|
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 {
|
sub openid_selector {
|
||||||
|
|
|
@ -14,6 +14,7 @@ ikiwiki (3.20100505) UNRELEASED; urgency=low
|
||||||
(http://code.google.com/p/openid-selector/)
|
(http://code.google.com/p/openid-selector/)
|
||||||
* openid: Use "openid_identifier" as the form field, as required
|
* openid: Use "openid_identifier" as the form field, as required
|
||||||
by OpenID Authentication v2.0 spec.
|
by OpenID Authentication v2.0 spec.
|
||||||
|
* Removed the openidsignup option.
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Wed, 05 May 2010 18:07:29 -0400
|
-- Joey Hess <joeyh@debian.org> Wed, 05 May 2010 18:07:29 -0400
|
||||||
|
|
||||||
|
|
|
@ -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
|
added security. Finally, the [[!cpan Crypt::SSLeay]] perl module is needed
|
||||||
to support users entering "https" OpenID urls.
|
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
|
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]].
|
only use some other form of authentication, such as [[passwordauth]].
|
||||||
|
|
Loading…
Reference in New Issue