журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[livejournal] r22575: LJSUP-13188: OpenID support for OAuth AP...

Committer: nnikulochkina
LJSUP-13188: OpenID support for OAuth API
U   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.";

Tags: livejournal, nikulochkina, nnikulochkina, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments