session{page} to session->asset

This commit is contained in:
Colin Kuskie 2006-01-13 17:27:16 +00:00
parent fe3bcde088
commit e4bff9d982

View file

@ -64,7 +64,7 @@ sub www_auth {
my $authMethod = getInstance($auth);
my $methodCall = shift || $session->form->process("method") || "init";
if(!$authMethod->isCallable($methodCall)){
$session->errorHandler->security("access uncallable auth method on page '".$session{page}{title}."' [".$session{page}{pageId}."].");
$session->errorHandler->security("access uncallable auth method on page '".$session->asset->getTitle."' [".$session->asset->pageId."].");
return WebGUI::International::get(1077);
}
return $session->style->userStyle($authMethod->$methodCall);