ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[ljcom] r10265: LJSUP-7762: Mail.ru connect - LJSUP-8232...

Committer: ssafronova
LJSUP-7762: Mail.ru connect - LJSUP-8232: Do you can do redirect to the main LJ if the user does not confirm access to the mail?
U   trunk/htdocs/identity/callback-mailru.bml
Modified: trunk/htdocs/identity/callback-mailru.bml
===================================================================
--- trunk/htdocs/identity/callback-mailru.bml	2011-03-18 08:43:28 UTC (rev 10264)
+++ trunk/htdocs/identity/callback-mailru.bml	2011-03-18 08:52:43 UTC (rev 10265)
@@ -28,7 +28,7 @@
 
     unless ($code) {
         return LJ::Request->redirect($returl_fail)
-            if LJ::Request->get_param('error_reason') eq 'user_denied';
+            if LJ::Request->get_param('error') eq 'access_denied';
 
         require Data::Dumper;
         warn "mail.ru (code) connectivity error: " .

Tags: bml, ljcom, ssafronova
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