must pass session variable
This commit is contained in:
parent
4b4ddd768c
commit
7f2328da2a
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ sub getInstance {
|
|||
my $load = "use ".$cmd;
|
||||
eval($load);
|
||||
$session->errorHandler->fatal("Authentication module failed to compile: $cmd.".$@) if($@);
|
||||
my $auth = eval{$cmd->new($authMethod,$userId)};
|
||||
my $auth = eval{$cmd->new($session, $authMethod,$userId)};
|
||||
$session->errorHandler->fatal("Couldn't instantiate authentication module: $authMethod. Root cause: ".$@) if($@);
|
||||
return $auth;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue