more session related bug fixes
This commit is contained in:
parent
5705131fcf
commit
89a6e4efdb
4 changed files with 7 additions and 7 deletions
|
|
@ -61,7 +61,7 @@ sub www_auth {
|
|||
my $session = shift;
|
||||
my $auth;
|
||||
($auth) = $session->db->quickArray("select authMethod from users where username=".$session->db->quote($session->form->process("username"))) if($session->form->process("username"));
|
||||
my $authMethod = getInstance($auth);
|
||||
my $authMethod = getInstance($session,$auth);
|
||||
my $methodCall = shift || $session->form->process("method") || "init";
|
||||
if(!$authMethod->isCallable($methodCall)){
|
||||
$session->errorHandler->security("access uncallable auth method on page '".$session->asset->getTitle."' [".$session->asset->pageId."].");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue