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

[livejournal] r22103: LJSUP-12365: Implement 'trusted' flag fo...

Committer: nnikulochkina
LJSUP-12365: Implement 'trusted' flag for external applications
U   trunk/cgi-bin/LJ/Identity.pm
Modified: trunk/cgi-bin/LJ/Identity.pm
===================================================================
--- trunk/cgi-bin/LJ/Identity.pm	2012-05-29 14:43:23 UTC (rev 22102)
+++ trunk/cgi-bin/LJ/Identity.pm	2012-05-30 06:43:11 UTC (rev 22103)
@@ -261,7 +261,7 @@
             die;
         }
     } elsif ( $forwhat =~ /^oauth\-([a-z0-9]+)$/i ) {
-        $returl = "$LJ::SSLROOT/oauth/authorize_token.bml?oauth_token=$1";
+        $returl = "$LJ::SSLROOT/oauth/authorize_token.bml?oauth_token=$1&auth_type=".$class->short_code;
         $returl_fail = $returl;
         $skip_interstitial = 1;
     } else {

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