Changeset 1720 for branches/release-33/lib/MT/Auth/TypeKey.pm
- Timestamp:
- 04/02/08 17:39:03 (20 months ago)
- Files:
-
- 1 modified
-
branches/release-33/lib/MT/Auth/TypeKey.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-33/lib/MT/Auth/TypeKey.pm
r1174 r1720 76 76 # If there's no signature, then we trust the cookie. 77 77 my %cookies = $app->cookies(); 78 if ($cookies{$app->COMMENTER_COOKIE_NAME()} 79 && ($session = $cookies{$app->COMMENTER_COOKIE_NAME()}->value())) 78 my $cookie_name = MT::App::COMMENTER_COOKIE_NAME(); 79 if ($cookies{$cookie_name} 80 && ($session = $cookies{$cookie_name}->value())) 80 81 { 81 82 require MT::Session;
