session{page} to session->asset
This commit is contained in:
parent
fe3bcde088
commit
e4bff9d982
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue