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

[livejournal] r22033: LJSUP-12290: Implement auth_type paramet...

Committer: nnikulochkina
LJSUP-12290: Implement auth_type parameter processing in 'authorize token' request
U   trunk/cgi-bin/LJ/Identity.pm
Modified: trunk/cgi-bin/LJ/Identity.pm
===================================================================
--- trunk/cgi-bin/LJ/Identity.pm	2012-05-23 08:54:07 UTC (rev 22032)
+++ trunk/cgi-bin/LJ/Identity.pm	2012-05-23 09:23:14 UTC (rev 22033)
@@ -259,6 +259,9 @@
             warn 'invalid format ' . $extra;
             die;
         }
+    } elsif ( $forwhat =~ /^oauth\-([a-z0-9]+)$/i ) {
+        $returl = "$LJ::SSLROOT/oauth/authorize_token.bml?oauth_token=$1";
+        $returl_fail = $returl;
     } else {
         # the warning will sit in error logs, and the exception
         # will be handled

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