Show
Ignore:
Timestamp:
04/02/08 17:39:03 (20 months ago)
Author:
bchoate
Message:

Fixed usage of COMMENTER_COOKIE constant. BugId:69872

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-33/lib/MT/Auth/OpenID.pm

    r1340 r1720  
    117117        # If there's no signature, then we trust the cookie. 
    118118        my %cookies = $app->cookies(); 
    119         if ($cookies{$app->COMMENTER_COOKIE_NAME()} 
    120             && ($session = $cookies{$app->COMMENTER_COOKIE_NAME()}->value()))  
     119        my $cookie_name = MT::App::COMMENTER_COOKIE_NAME(); 
     120        if ($cookies{$cookie_name} 
     121            && ($session = $cookies{$cookie_name}->value()))  
    121122        { 
    122123            require MT::Session;