Committer: nnikulochkina
LJSUP-13188: OpenID support for OAuth APIU trunk/cgi-bin/LJ/Identity/OpenID.pm
Modified: trunk/cgi-bin/LJ/Identity/OpenID.pm =================================================================== --- trunk/cgi-bin/LJ/Identity/OpenID.pm 2012-08-06 09:25:57 UTC (rev 22574) +++ trunk/cgi-bin/LJ/Identity/OpenID.pm 2012-08-06 10:36:09 UTC (rev 22575) @@ -83,7 +83,7 @@ my $forwhat = $opts{'forwhat'} || ''; my $csr = $class->consumer; - my $url = LJ::Request->post_param('openid:url'); + my $url = LJ::Request->post_param('openid:url') || $opts{'openidurl'}; if ($url =~ /[\<\>\s]/) { push @$errs, "Invalid characters in identity URL.";